Skip to content

Commit

Permalink
updating eslintrc and gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
demskie committed Jan 23, 2020
1 parent d3310a8 commit 7f318d6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,17 @@
"sourceType": "module"
},
"rules": {
"indent": ["error", 2],
"indent": ["error", 2, { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "double"],
"semi": ["error", "always"]
"semi": ["error", "always"],
"no-var": 0,
"prefer-const": "off",
"quotes": "off",
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/class-name-casing": 0
}
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ node_modules
/dist
/bench
/test
*.bundle.js
*.bundle.js
.DS_Store

0 comments on commit 7f318d6

Please sign in to comment.