Skip to content

Commit

Permalink
workflow: modify ESLint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
cloydlau committed Apr 9, 2024
1 parent 4866b0c commit e67933b
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 128 deletions.
3 changes: 0 additions & 3 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ export default antfu(
'brace-style': ['error', 'stroustrup', { allowSingleLine: false }],
'curly': ['error', 'all'],
'no-console': 'off',
'vue/attribute-hyphenation': 'off',
'vue/max-attributes-per-line': 'error',
'vue/multi-word-component-names': 'off',
'vue/no-deprecated-v-bind-sync': 'off',
'vue/no-deprecated-v-on-native-modifier': 'off',
'vue/no-deprecated-destroyed-lifecycle': 'off',
'vue/no-deprecated-dollar-listeners-api': 'off',
'vue/no-deprecated-dollar-scopedslots-api': 'off',
'vue/no-v-html': 'off',
'vue/singleline-html-element-content-newline': 'off',
'vue/v-on-event-hyphenation': ['error', 'never'],
},
},
)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"postinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^2.12.2",
"@antfu/eslint-config": "^2.13.0",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"case-police": "^0.6.1",
Expand Down
Loading

0 comments on commit e67933b

Please sign in to comment.