Skip to content

Commit

Permalink
eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
pinzon committed Feb 12, 2024
1 parent f0e7cee commit ccbb346
Show file tree
Hide file tree
Showing 7 changed files with 1,581 additions and 1,113 deletions.
15 changes: 14 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,20 @@
"jest": true
},
"extends": "eslint:recommended",
"rules": {
"quotes": ["error", "single"],
"semi": ["error", "always"],
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"no-console": "warn",
"no-unused-vars": "warn",
"no-alert": "error",
"prefer-const": "error",
"no-var": "error",
"arrow-parens": ["error", "always"],
"no-tabs": "error"
},
"parserOptions": {
"ecmaVersion": 2017
}
}
}
Loading

0 comments on commit ccbb346

Please sign in to comment.