chore: prettier igonre update

This commit is contained in:
pengYYY 2021-12-20 10:44:35 +08:00
parent 7f0d6c005b
commit 4759e534a0
3 changed files with 5 additions and 1 deletions

View File

@ -11,3 +11,4 @@ script/test/cypress
_site
temp*
static/
!.prettierrc.js

View File

@ -9,6 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm install
shell: bash
- run: npm run lint

View File

@ -1,5 +1,5 @@
module.exports = {
// 一行最多 120 字符
// 一行最多 120 字符..
printWidth: 120,
// 使用 2 个空格缩进
tabWidth: 2,