Skip to content

Commit

Permalink
Add more configurations into eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfloriani committed May 3, 2020
1 parent eca6608 commit bcf866b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
Expand All @@ -18,6 +25,7 @@
"arrow-body-style": 0,
"arrow-parens": [2, "as-needed", { "requireForBlockBody": true }],
"comma-dangle": [2, "always-multiline"],
"import/extensions": 0,
"import/prefer-default-export": 0,
"max-len": ["error", {
"code": 120,
Expand Down

0 comments on commit bcf866b

Please sign in to comment.