Skip to content

Commit

Permalink
chore(eslint): 🔧 .eslintrc.json for codefactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Leecason committed Mar 2, 2020
1 parent 4056a23 commit 2b8a67b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .eslintrc.js

This file was deleted.

36 changes: 36 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"@vue/standard",
"@vue/typescript"
],
"rules": {
"comma-dangle": ["error", "only-multiline"],
"semi": ["error", "always"],
"indent": ["error", 2, {
"SwitchCase": 1,
"VariableDeclarator": {
"var": 2,
"let": 2,
"const": 3
}
}],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"no-multi-spaces": ["error", {
"exceptions": {
"VariableDeclarator": true
}
}],
"space-before-function-paren": ["error", "always"],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error"
},
"parserOptions": {
"parser": "@typescript-eslint/parser"
}
}

0 comments on commit 2b8a67b

Please sign in to comment.