Skip to content

Commit

Permalink
配置eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
jsxiaosi committed Jun 18, 2021
1 parent 2aea59b commit 5d46c39
Show file tree
Hide file tree
Showing 26 changed files with 7,657 additions and 4,328 deletions.
15 changes: 15 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

*.sh
node_modules
*.md
*.woff
*.ttf
.vscode
.idea
dist
/public
/docs
.husky
.local
/bin
Dockerfile
17 changes: 17 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
env: {
browser: true,
es2021: true
},
extends: ['standard', 'plugin:vue/essential'],
parserOptions: {
ecmaVersion: 12,
sourceType: 'module'
},
plugins: ['vue'],
rules: {
'no-unused-vars': 'off',
'vue/no-multiple-template-root': 'off',
camelcase: 0
}
}
Loading

0 comments on commit 5d46c39

Please sign in to comment.