diff options
author | Eugene Sokolov <eug-vs@keemail.me> | 2020-04-18 21:31:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 21:31:11 +0300 |
commit | dee39c8ff8e9a417ba2b338beb942f9ad443adf3 (patch) | |
tree | a6b1bfa00f5ad925d57d3ded655a8103b911fad4 /.eslintrc.json | |
parent | 62df0ff96fc9ab832212d223150862c7667d9ffc (diff) | |
parent | 0c061c74bfd473be17be755cd19c8952dc115a91 (diff) | |
download | react-benzin-dee39c8ff8e9a417ba2b338beb942f9ad443adf3.tar.gz |
Merge pull request #13 from eug-vs/develop
Patch 3.1.1
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index ac05a7f..c86a906 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,12 +1,23 @@ { "parser": "@typescript-eslint/parser", "extends": [ - "react-app", + "airbnb-typescript", "plugin:@typescript-eslint/recommended" ], + "parserOptions": { + "project": "./tsconfig.json" + }, "ignorePatterns": "dist/", "rules": { "jsx-quotes": ["error", "prefer-double"], - "quotes": ["error", "single"] + "quotes": ["error", "single"], + "no-multiple-empty-lines": [2, { "max": 2, "maxEOF": 1 } ], + "max-len": ["error", { "code": 120 }], + "arrow-parens": [2, "as-needed"], + "arrow-body-style": 0, + "no-cond-assign": 0, + "react/prop-types": 0, + "react/no-children-prop": 0, + "react/no-danger": 0 } } |