Created
January 17, 2022 12:34
-
-
Save Yaromey/0f4a715f071d3f9797af45b58a281e06 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "parser": "@typescript-eslint/parser", | |
| "parserOptions": { | |
| "ecmaVersion": 6, | |
| "sourceType": "module", | |
| "ecmaFeatures": { | |
| "jsx": true, | |
| "experimentalObjectRestSpread": true | |
| } | |
| }, | |
| "settings": { | |
| "react": { | |
| "version": "16.x" | |
| }, | |
| "import/resolver": { | |
| "node": { | |
| "paths": [ | |
| "src" | |
| ] | |
| } | |
| } | |
| }, | |
| "extends": [ | |
| "plugin:import/warnings", | |
| "plugin:react-hooks/recommended", | |
| "plugin:react/recommended" | |
| ], | |
| "rules": { | |
| "multiline-comment-style": 1, | |
| "react/prop-types": 1, | |
| "react/react-in-jsx-scope": 1, | |
| "react/jsx-no-target-blank": 1, | |
| "react/no-find-dom-node": 1, | |
| "react/no-unescaped-entities": 1, | |
| "react/no-direct-mutation-state": 0, | |
| "react/no-unknown-property": 1, | |
| "react/no-deprecated": 1, | |
| "react/no-render-return-value": 1, | |
| "react/jsx-no-undef": 1, | |
| "function-paren-newline": [ | |
| "warn", | |
| "consistent" | |
| ], | |
| "prefer-const": [ | |
| "warn", | |
| { | |
| "destructuring": "all" | |
| } | |
| ], | |
| "no-var": 1, | |
| "no-new-object": 1, | |
| "object-shorthand": 1, | |
| "quote-props": [ | |
| "warn", | |
| "as-needed" | |
| ], | |
| "no-array-constructor": 1, | |
| "array-callback-return": 1, | |
| "prefer-destructuring": [ | |
| "warn", | |
| { | |
| "array": false, | |
| "object": true | |
| }, | |
| { | |
| "enforceForRenamedProperties": false | |
| } | |
| ], | |
| "jsx-quotes": [ | |
| "warn", | |
| "prefer-double" | |
| ], | |
| "quotes": [ | |
| "error", | |
| "single", | |
| { | |
| "allowTemplateLiterals": true | |
| } | |
| ], | |
| "radix": 1, | |
| "prefer-template": 1, | |
| "no-eval": 2, | |
| "no-useless-escape": 0, | |
| "func-style": 0, | |
| "wrap-iife": [ | |
| "warn", | |
| "outside" | |
| ], | |
| "no-loop-func": 1, | |
| "prefer-rest-params": 1, | |
| "no-new-func": 1, | |
| "space-before-function-paren": [ | |
| "warn", | |
| { | |
| "anonymous": "always", | |
| "named": "never", | |
| "asyncArrow": "always" | |
| } | |
| ], | |
| "no-param-reassign": 1, | |
| "prefer-spread": 1, | |
| "prefer-arrow-callback": 1, | |
| "arrow-spacing": 1, | |
| "arrow-parens": [ | |
| "warn", | |
| "as-needed", | |
| { | |
| "requireForBlockBody": true | |
| } | |
| ], | |
| "arrow-body-style": 0, | |
| "no-confusing-arrow": [1, {"allowParens": true}], | |
| "implicit-arrow-linebreak": [ | |
| "warn", | |
| "beside" | |
| ], | |
| "no-useless-constructor": 1, | |
| "no-dupe-class-members": 1, | |
| "no-duplicate-imports": 1, | |
| "generator-star-spacing": [ | |
| "warn", | |
| { | |
| "before": false, | |
| "after": true | |
| } | |
| ], | |
| "dot-notation": 1, | |
| "no-undef": 0, | |
| "one-var": [ | |
| "warn", | |
| "never" | |
| ], | |
| "no-multi-assign": 1, | |
| "no-unused-vars": [ | |
| "warn", | |
| { | |
| "vars": "all", | |
| "args": "none", | |
| "caughtErrors": "none" | |
| } | |
| ], | |
| "eqeqeq": [ | |
| "warn", | |
| "always" | |
| ], | |
| "no-case-declarations": 1, | |
| "no-nested-ternary": 2, | |
| "no-unneeded-ternary": 1, | |
| "no-unreachable": 2, | |
| "no-mixed-operators": 1, | |
| "nonblock-statement-body-position": [ | |
| "warn", | |
| "below" | |
| ], | |
| "brace-style": [ | |
| 2, | |
| "1tbs" | |
| ], | |
| "no-else-return": 2, | |
| "spaced-comment": 2, | |
| "indent": [ | |
| 2, | |
| 2 | |
| ], | |
| "space-before-blocks": [ | |
| "warn", | |
| { | |
| "functions": "always", | |
| "keywords": "always", | |
| "classes": "always" | |
| } | |
| ], | |
| "keyword-spacing": [ | |
| "warn", | |
| { | |
| "before": true, | |
| "after": true | |
| } | |
| ], | |
| "space-infix-ops": 1, | |
| "eol-last": 1, | |
| "newline-per-chained-call": [ | |
| "warn", | |
| { | |
| "ignoreChainWithDepth": 2 | |
| } | |
| ], | |
| "padded-blocks": [ | |
| "warn", | |
| "never" | |
| ], | |
| "space-in-parens": [ | |
| "warn", | |
| "never" | |
| ], | |
| "array-bracket-spacing": [ | |
| "warn", | |
| "never" | |
| ], | |
| "object-curly-spacing": [ | |
| "warn", | |
| "always" | |
| ], | |
| "curly": 2, | |
| "max-len": 0, | |
| "block-spacing": 1, | |
| "comma-spacing": [ | |
| "warn", | |
| { | |
| "before": false, | |
| "after": true | |
| } | |
| ], | |
| "computed-property-spacing": 1, | |
| "func-call-spacing": [ | |
| "warn", | |
| "never" | |
| ], | |
| "key-spacing": [ | |
| "warn", | |
| { | |
| "beforeColon": false | |
| } | |
| ], | |
| "no-trailing-spaces": 1, | |
| "no-multiple-empty-lines": 1, | |
| "comma-style": [ | |
| 2, | |
| "last" | |
| ], | |
| "comma-dangle": [ | |
| 2, | |
| "always-multiline" | |
| ], | |
| "no-extra-semi": "warn", | |
| "semi": 1, | |
| "no-new-wrappers": 2, | |
| "camelcase": 0, | |
| "new-cap": 2 | |
| }, | |
| "env": { | |
| "browser": true, | |
| "node": true | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment