Skip to content

Instantly share code, notes, and snippets.

@Friss
Last active February 6, 2023 18:46
Show Gist options
  • Save Friss/240b054d67e6228728780dd27b8f1b36 to your computer and use it in GitHub Desktop.
Save Friss/240b054d67e6228728780dd27b8f1b36 to your computer and use it in GitHub Desktop.
{
'env': {
'browser': true,
'es6': true,
'node': false,
},
'ignorePatterns': ['!.*', 'node_modules/'],
'parserOptions': {
'ecmaFeatures': {
'jsx': true,
},
},
'plugins': [
'react',
'react-hooks',
],
'rules': {
'@typescript-eslint/adjacent-overload-signatures': ['off'],
'@typescript-eslint/array-type': ['off'],
'@typescript-eslint/await-thenable': ['off'],
'@typescript-eslint/ban-ts-comment': ['off'],
'@typescript-eslint/ban-tslint-comment': ['off'],
'@typescript-eslint/ban-types': ['off'],
'@typescript-eslint/brace-style': ['off'],
'@typescript-eslint/class-literal-property-style': ['off'],
'@typescript-eslint/comma-dangle': ['off'],
'@typescript-eslint/comma-spacing': ['off'],
'@typescript-eslint/consistent-generic-constructors': ['off'],
'@typescript-eslint/consistent-indexed-object-style': ['off'],
'@typescript-eslint/consistent-type-assertions': ['off'],
'@typescript-eslint/consistent-type-definitions': ['off'],
'@typescript-eslint/consistent-type-exports': ['off'],
'@typescript-eslint/consistent-type-imports': ['off'],
'@typescript-eslint/default-param-last': ['off'],
'@typescript-eslint/dot-notation': ['off'],
'@typescript-eslint/explicit-function-return-type': ['off'],
'@typescript-eslint/explicit-member-accessibility': ['off'],
'@typescript-eslint/explicit-module-boundary-types': ['off'],
'@typescript-eslint/func-call-spacing': ['off'],
'@typescript-eslint/indent': ['off'],
'@typescript-eslint/init-declarations': ['off'],
'@typescript-eslint/keyword-spacing': ['off'],
'@typescript-eslint/lines-between-class-members': ['off'],
'@typescript-eslint/member-delimiter-style': ['off'],
'@typescript-eslint/member-ordering': ['off'],
'@typescript-eslint/method-signature-style': ['off'],
'@typescript-eslint/naming-convention': ['off'],
'@typescript-eslint/no-array-constructor': ['off'],
'@typescript-eslint/no-base-to-string': ['off'],
'@typescript-eslint/no-confusing-non-null-assertion': ['off'],
'@typescript-eslint/no-confusing-void-expression': ['off'],
'@typescript-eslint/no-dupe-class-members': ['off'],
'@typescript-eslint/no-duplicate-enum-values': ['off'],
'@typescript-eslint/no-duplicate-imports': ['off'],
'@typescript-eslint/no-dynamic-delete': ['off'],
'@typescript-eslint/no-empty-function': ['off'],
'@typescript-eslint/no-empty-interface': ['off'],
'@typescript-eslint/no-explicit-any': ['off'],
'@typescript-eslint/no-extra-non-null-assertion': ['off'],
'@typescript-eslint/no-extra-parens': ['off'],
'@typescript-eslint/no-extra-semi': ['off'],
'@typescript-eslint/no-extraneous-class': ['off'],
'@typescript-eslint/no-floating-promises': ['off'],
'@typescript-eslint/no-for-in-array': ['off'],
'@typescript-eslint/no-implicit-any-catch': ['off'],
'@typescript-eslint/no-implied-eval': ['off'],
'@typescript-eslint/no-inferrable-types': ['off'],
'@typescript-eslint/no-invalid-this': ['off'],
'@typescript-eslint/no-invalid-void-type': ['off'],
'@typescript-eslint/no-loop-func': ['off'],
'@typescript-eslint/no-loss-of-precision': ['off'],
'@typescript-eslint/no-magic-numbers': ['off'],
'@typescript-eslint/no-meaningless-void-operator': ['off'],
'@typescript-eslint/no-misused-new': ['off'],
'@typescript-eslint/no-misused-promises': ['off'],
'@typescript-eslint/no-namespace': ['off'],
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': ['off'],
'@typescript-eslint/no-non-null-asserted-optional-chain': ['off'],
'@typescript-eslint/no-non-null-assertion': ['off'],
'@typescript-eslint/no-parameter-properties': ['off'],
'@typescript-eslint/no-redeclare': ['off'],
'@typescript-eslint/no-redundant-type-constituents': ['off'],
'@typescript-eslint/no-require-imports': ['off'],
'@typescript-eslint/no-restricted-imports': ['off'],
'@typescript-eslint/no-shadow': ['off'],
'@typescript-eslint/no-this-alias': ['off'],
'@typescript-eslint/no-throw-literal': ['off'],
'@typescript-eslint/no-type-alias': ['off'],
'@typescript-eslint/no-unnecessary-boolean-literal-compare': ['off'],
'@typescript-eslint/no-unnecessary-condition': ['off'],
'@typescript-eslint/no-unnecessary-qualifier': ['off'],
'@typescript-eslint/no-unnecessary-type-arguments': ['off'],
'@typescript-eslint/no-unnecessary-type-assertion': ['off'],
'@typescript-eslint/no-unnecessary-type-constraint': ['off'],
'@typescript-eslint/no-unsafe-argument': ['off'],
'@typescript-eslint/no-unsafe-assignment': ['off'],
'@typescript-eslint/no-unsafe-call': ['off'],
'@typescript-eslint/no-unsafe-declaration-merging': ['off'],
'@typescript-eslint/no-unsafe-member-access': ['off'],
'@typescript-eslint/no-unsafe-return': ['off'],
'@typescript-eslint/no-unused-expressions': ['off'],
'@typescript-eslint/no-unused-vars': ['off'],
'@typescript-eslint/no-use-before-define': ['off'],
'@typescript-eslint/no-useless-constructor': ['off'],
'@typescript-eslint/no-useless-empty-export': ['off'],
'@typescript-eslint/no-var-requires': ['off'],
'@typescript-eslint/non-nullable-type-assertion-style': ['off'],
'@typescript-eslint/object-curly-spacing': ['off'],
'@typescript-eslint/padding-line-between-statements': ['off'],
'@typescript-eslint/parameter-properties': ['off'],
'@typescript-eslint/prefer-as-const': ['off'],
'@typescript-eslint/prefer-enum-initializers': ['off'],
'@typescript-eslint/prefer-for-of': ['off'],
'@typescript-eslint/prefer-function-type': ['off'],
'@typescript-eslint/prefer-includes': ['off'],
'@typescript-eslint/prefer-literal-enum-member': ['off'],
'@typescript-eslint/prefer-namespace-keyword': ['off'],
'@typescript-eslint/prefer-nullish-coalescing': ['off'],
'@typescript-eslint/prefer-optional-chain': ['off'],
'@typescript-eslint/prefer-readonly': ['off'],
'@typescript-eslint/prefer-readonly-parameter-types': ['off'],
'@typescript-eslint/prefer-reduce-type-parameter': ['off'],
'@typescript-eslint/prefer-regexp-exec': ['off'],
'@typescript-eslint/prefer-return-this-type': ['off'],
'@typescript-eslint/prefer-string-starts-ends-with': ['off'],
'@typescript-eslint/prefer-ts-expect-error': ['off'],
'@typescript-eslint/promise-function-async': ['off'],
'@typescript-eslint/quotes': ['off'],
'@typescript-eslint/require-array-sort-compare': ['off'],
'@typescript-eslint/require-await': ['off'],
'@typescript-eslint/restrict-plus-operands': ['off'],
'@typescript-eslint/restrict-template-expressions': ['off'],
'@typescript-eslint/return-await': ['off'],
'@typescript-eslint/semi': ['off'],
'@typescript-eslint/sort-type-constituents': ['off'],
'@typescript-eslint/sort-type-union-intersection-members': ['off'],
'@typescript-eslint/space-before-blocks': ['off'],
'@typescript-eslint/space-before-function-paren': ['off'],
'@typescript-eslint/space-infix-ops': ['off'],
'@typescript-eslint/strict-boolean-expressions': ['off'],
'@typescript-eslint/switch-exhaustiveness-check': ['off'],
'@typescript-eslint/triple-slash-reference': ['off'],
'@typescript-eslint/type-annotation-spacing': ['off'],
'@typescript-eslint/typedef': ['off'],
'@typescript-eslint/unbound-method': ['off'],
'@typescript-eslint/unified-signatures': ['off'],
'accessor-pairs': ['off'],
'array-bracket-newline': ['off'],
'array-bracket-spacing': ['off'],
'array-callback-return': ['error'],
'array-element-newline': ['off'],
'arrow-body-style': [0],
'arrow-parens': ['off'],
'arrow-spacing': ['off'],
'block-scoped-var': ['error'],
'block-spacing': ['off'],
'brace-style': ['off'],
'callback-return': ['off'],
'camelcase': ['off'],
'capitalized-comments': ['off'],
'class-methods-use-this': ['off'],
'comma-dangle': ['off'],
'comma-spacing': ['off'],
'comma-style': ['off'],
'compat/compat': ['error'],
'complexity': ['off'],
'computed-property-spacing': ['off'],
'consistent-return': ['error'],
'consistent-this': ['off'],
'constructor-super': ['error'],
'curly': [0],
'default-case': [
'error',
{
'commentPattern': '^no default$',
},
],
'default-param-last': ['off'],
'dot-location': ['off'],
'dot-notation': ['off'],
'eol-last': ['off'],
'eqeqeq': [
'error',
'always',
{
'null': 'ignore',
},
],
'filenames/match-exported': ['off'],
'filenames/match-regex': ['off'],
'filenames/no-index': ['off'],
'for-direction': ['error'],
'func-call-spacing': ['off'],
'func-name-matching': ['off'],
'func-names': ['off'],
'func-style': ['off'],
'function-call-argument-newline': ['off'],
'function-paren-newline': ['off'],
'generator-star': ['off'],
'generator-star-spacing': ['off'],
'getter-return': ['error'],
'global-require': ['off'],
'grouped-accessor-pairs': ['off'],
'guard-for-in': ['error'],
'handle-callback-err': ['off'],
'id-blacklist': ['off'],
'id-length': ['off'],
'id-match': ['off'],
'implicit-arrow-linebreak': ['off'],
'import/default': ['off'],
'import/dynamic-import-chunkname': ['off'],
'import/export': ['off'],
'import/exports-last': ['off'],
'import/extensions': ['off'],
'import/first': ['off'],
'import/group-exports': ['off'],
'import/imports-first': ['off'],
'import/max-dependencies': ['off'],
'import/named': ['off'],
'import/namespace': ['off'],
'import/newline-after-import': ['off'],
'import/no-absolute-path': ['off'],
'import/no-amd': ['off'],
'import/no-anonymous-default-export': ['off'],
'import/no-commonjs': ['off'],
'import/no-cycle': ['off'],
'import/no-default-export': ['off'],
'import/no-deprecated': ['off'],
'import/no-duplicates': ['off'],
'import/no-dynamic-require': ['off'],
'import/no-extraneous-dependencies': ['off'],
'import/no-internal-modules': ['off'],
'import/no-mutable-exports': ['off'],
'import/no-named-as-default': ['off'],
'import/no-named-as-default-member': ['off'],
'import/no-named-default': ['off'],
'import/no-named-export': ['off'],
'import/no-namespace': ['off'],
'import/no-nodejs-modules': ['off'],
'import/no-relative-parent-imports': ['off'],
'import/no-restricted-paths': ['off'],
'import/no-self-import': ['off'],
'import/no-unassigned-import': ['off'],
'import/no-unresolved': ['off'],
'import/no-unused-modules': ['off'],
'import/no-useless-path-segments': ['off'],
'import/no-webpack-loader-syntax': ['off'],
'import/order': ['off'],
'import/prefer-default-export': ['off'],
'import/unambiguous': ['off'],
'indent': ['off'],
'indent-legacy': ['off'],
'init-declarations': ['off'],
'jsx-quotes': ['off'],
'key-spacing': ['off'],
'keyword-spacing': ['off'],
'line-comment-position': ['off'],
'linebreak-style': ['off'],
'lines-around-comment': [0],
'lines-around-directive': ['off'],
'lines-between-class-members': ['off'],
'max-classes-per-file': ['off'],
'max-depth': ['off'],
'max-len': [0],
'max-lines': ['off'],
'max-lines-per-function': ['off'],
'max-nested-callbacks': ['off'],
'max-params': ['off'],
'max-statements': ['off'],
'max-statements-per-line': ['off'],
'multiline-comment-style': ['off'],
'multiline-ternary': ['off'],
'new-cap': ['off'],
'new-parens': ['off'],
'newline-after-var': ['off'],
'newline-before-return': ['off'],
'newline-per-chained-call': ['off'],
'no-alert': ['error'],
'no-array-constructor': ['error'],
'no-arrow-condition': ['off'],
'no-async-promise-executor': ['error'],
'no-await-in-loop': ['off'],
'no-bitwise': ['error'],
'no-buffer-constructor': ['off'],
'no-caller': ['error'],
'no-case-declarations': ['error'],
'no-catch-shadow': ['off'],
'no-class-assign': ['error'],
'no-comma-dangle': ['off'],
'no-compare-neg-zero': ['error'],
'no-cond-assign': ['error', 'always'],
'no-confusing-arrow': [0],
'no-console': ['off'],
'no-const-assign': ['error'],
'no-constant-condition': ['error'],
'no-constructor-return': ['off'],
'no-continue': ['off'],
'no-control-regex': ['error'],
'no-debugger': ['error'],
'no-delete-var': ['error'],
'no-div-regex': ['off'],
'no-dupe-args': ['error'],
'no-dupe-class-members': ['error'],
'no-dupe-else-if': ['off'],
'no-dupe-keys': ['error'],
'no-duplicate-case': ['error'],
'no-duplicate-imports': ['off'],
'no-else-return': ['off'],
'no-empty': ['error'],
'no-empty-character-class': ['error'],
'no-empty-function': ['off'],
'no-empty-pattern': ['error'],
'no-eq-null': ['off'],
'no-eval': ['error'],
'no-ex-assign': ['error'],
'no-extend-native': ['error'],
'no-extra-bind': ['error'],
'no-extra-boolean-cast': ['error'],
'no-extra-label': ['error'],
'no-extra-parens': ['off'],
'no-extra-semi': ['off'],
'no-fallthrough': ['error'],
'no-floating-decimal': ['error'],
'no-floating-promise/no-floating-promise': ['error'],
'no-func-assign': ['error'],
'no-global-assign': ['error'],
'no-implicit-coercion': ['off'],
'no-implicit-globals': ['off'],
'no-implied-eval': ['error'],
'no-import-assign': ['off'],
'no-inline-comments': ['off'],
'no-inner-declarations': ['error'],
'no-invalid-regexp': ['error'],
'no-invalid-this': ['off'],
'no-irregular-whitespace': ['error'],
'no-iterator': ['error'],
'no-label-var': ['off'],
'no-labels': [
'error',
{
'allowLoop': false,
'allowSwitch': false,
},
],
'no-lone-blocks': ['error'],
'no-lonely-if': ['off'],
'no-loop-func': ['error'],
'no-magic-numbers': ['off'],
'no-misleading-character-class': ['error'],
'no-mixed-operators': [0],
'no-mixed-requires': ['off'],
'no-mixed-spaces-and-tabs': ['off'],
'no-multi-assign': ['off'],
'no-multi-spaces': ['off'],
'no-multi-str': ['error'],
'no-multiple-empty-lines': ['off'],
'no-native-reassign': ['error'],
'no-negated-condition': ['off'],
'no-negated-in-lhs': ['error'],
'no-nested-ternary': ['off'],
'no-new': ['error'],
'no-new-func': ['error'],
'no-new-object': ['error'],
'no-new-require': ['off'],
'no-new-symbol': ['error'],
'no-new-wrappers': ['error'],
'no-obj-calls': ['error'],
'no-octal': ['error'],
'no-octal-escape': ['error'],
'no-param-reassign': ['off'],
'no-path-concat': ['off'],
'no-plusplus': ['off'],
'no-process-env': ['off'],
'no-process-exit': ['off'],
'no-proto': ['error'],
'no-prototype-builtins': ['error'],
'no-redeclare': ['error'],
'no-regex-spaces': ['error'],
'no-reserved-keys': ['off'],
'no-restricted-globals': ['off'],
'no-restricted-imports': ['off'],
'no-restricted-modules': ['off'],
'no-restricted-properties': [
'error',
{
'object': 'require',
'property': 'ensure',
'message': 'require.ensure is not permitted',
},
],
'no-restricted-syntax': ['off'],
'no-return-assign': ['error'],
'no-return-await': ['off'],
'no-script-url': ['error'],
'no-self-assign': ['error'],
'no-self-compare': ['error'],
'no-sequences': ['error'],
'no-setter-return': ['off'],
'no-shadow': ['error'],
'no-shadow-restricted-names': ['error'],
'no-space-before-semi': ['off'],
'no-spaced-func': ['off'],
'no-sparse-arrays': ['error'],
'no-sync': ['off'],
'no-tabs': [0],
'no-template-curly-in-string': ['off'],
'no-ternary': ['off'],
'no-this-before-super': ['error'],
'no-throw-literal': ['error'],
'no-trailing-spaces': ['off'],
'no-undef': ['error'],
'no-undef-init': ['off'],
'no-undefined': ['off'],
'no-underscore-dangle': ['off'],
'no-unexpected-multiline': [0],
'no-unmodified-loop-condition': ['off'],
'no-unneeded-ternary': [
'error',
{
'defaultAssignment': false,
},
],
'no-unreachable': ['error'],
'no-unsafe-finally': ['error'],
'no-unsafe-negation': ['error'],
'no-unused-expressions': ['error'],
'no-unused-labels': ['error'],
'no-unused-vars': [
'error',
{
'vars': 'local',
'args': 'after-used',
'varsIgnorePattern': '^__',
'argsIgnorePattern': '^__',
},
],
'no-use-before-define': [
'error',
{
'functions': false,
'classes': true,
'variables': true,
},
],
'no-useless-call': ['off'],
'no-useless-catch': ['error'],
'no-useless-computed-key': ['off'],
'no-useless-concat': ['off'],
'no-useless-constructor': ['error'],
'no-useless-escape': ['error'],
'no-useless-rename': ['off'],
'no-useless-return': ['off'],
'no-var': ['error'],
'no-void': ['off'],
'no-warning-comments': ['off'],
'no-whitespace-before-property': ['off'],
'no-with': ['error'],
'no-wrap-func': ['off'],
'nonblock-statement-body-position': ['off'],
'object-curly-newline': ['off'],
'object-curly-spacing': ['off'],
'object-property-newline': ['off'],
'object-shorthand': [
'error',
'always',
{
'ignoreConstructors': false,
'avoidQuotes': true,
},
],
'one-var': ['error', 'never'],
'one-var-declaration-per-line': ['off'],
'operator-assignment': ['off'],
'operator-linebreak': ['off'],
'padded-blocks': ['off'],
'padding-line-between-statements': ['off'],
'prefer-arrow-callback': [
'error',
{
'allowNamedFunctions': false,
'allowUnboundThis': true,
},
],
'prefer-const': ['error'],
'prefer-destructuring': ['off'],
'prefer-exponentiation-operator': ['off'],
'prefer-named-capture-group': ['off'],
'prefer-numeric-literals': ['off'],
'prefer-object-spread': ['off'],
'prefer-promise-reject-errors': ['error'],
'prefer-reflect': ['off'],
'prefer-regex-literals': ['off'],
'prefer-rest-params': ['error'],
'prefer-spread': ['off'],
'prefer-template': ['error'],
'quote-props': ['off'],
'quotes': [0],
'radix': ['error'],
'react-hooks/exhaustive-deps': ['error'],
'react-hooks/rules-of-hooks': ['error'],
'react/boolean-prop-naming': ['off'],
'react/button-has-type': ['off'],
'react/default-props-match-prop-types': ['off'],
'react/destructuring-assignment': ['off'],
'react/display-name': ['off'],
'react/forbid-component-props': ['off'],
'react/forbid-dom-props': ['off'],
'react/forbid-elements': ['off'],
'react/forbid-foreign-prop-types': ['off'],
'react/forbid-prop-types': ['off'],
'react/function-component-definition': ['off'],
'react/jsx-boolean-value': ['error', 'always'],
'react/jsx-child-element-spacing': ['off'],
'react/jsx-closing-bracket-location': ['off'],
'react/jsx-closing-tag-location': ['off'],
'react/jsx-curly-brace-presence': ['off'],
'react/jsx-curly-newline': ['off'],
'react/jsx-curly-spacing': ['off'],
'react/jsx-equals-spacing': ['off'],
'react/jsx-filename-extension': ['off'],
'react/jsx-first-prop-new-line': ['off'],
'react/jsx-fragments': ['off'],
'react/jsx-handler-names': ['off'],
'react/jsx-indent': ['off'],
'react/jsx-indent-props': ['off'],
'react/jsx-key': [2],
'react/jsx-max-depth': ['off'],
'react/jsx-max-props-per-line': ['off'],
'react/jsx-newline': ['off'],
'react/jsx-no-bind': ['off'],
'react/jsx-no-comment-textnodes': [2],
'react/jsx-no-constructed-context-values': ['off'],
'react/jsx-no-duplicate-props': [2],
'react/jsx-no-literals': ['off'],
'react/jsx-no-script-url': ['off'],
'react/jsx-no-target-blank': [2],
'react/jsx-no-undef': [2],
'react/jsx-no-useless-fragment': ['off'],
'react/jsx-one-expression-per-line': ['off'],
'react/jsx-pascal-case': ['off'],
'react/jsx-props-no-multi-spaces': ['off'],
'react/jsx-props-no-spreading': ['off'],
'react/jsx-sort-default-props': ['off'],
'react/jsx-sort-props': ['off'],
'react/jsx-space-before-closing': ['off'],
'react/jsx-tag-spacing': ['off'],
'react/jsx-uses-react': ['off'],
'react/jsx-uses-vars': [2],
'react/jsx-wrap-multilines': ['off'],
'react/no-access-state-in-setstate': ['off'],
'react/no-adjacent-inline-elements': ['off'],
'react/no-array-index-key': ['off'],
'react/no-arrow-function-lifecycle': ['off'],
'react/no-children-prop': [2],
'react/no-danger': ['off'],
'react/no-danger-with-children': [2],
'react/no-deprecated': [2],
'react/no-did-mount-set-state': ['off'],
'react/no-did-update-set-state': ['off'],
'react/no-direct-mutation-state': [2],
'react/no-find-dom-node': ['off'],
'react/no-invalid-html-attribute': ['off'],
'react/no-is-mounted': [2],
'react/no-multi-comp': ['off'],
'react/no-namespace': ['off'],
'react/no-redundant-should-component-update': ['off'],
'react/no-render-return-value': [2],
'react/no-set-state': ['off'],
'react/no-string-refs': ['off'],
'react/no-this-in-sfc': ['off'],
'react/no-typos': ['off'],
'react/no-unescaped-entities': ['off'],
'react/no-unknown-property': [2],
'react/no-unsafe': [0],
'react/no-unstable-nested-components': ['off'],
'react/no-unused-class-component-methods': ['off'],
'react/no-unused-prop-types': ['error'],
'react/no-unused-state': ['off'],
'react/no-will-update-set-state': ['off'],
'react/prefer-es6-class': ['off'],
'react/prefer-exact-props': ['off'],
'react/prefer-read-only-props': ['off'],
'react/prefer-stateless-function': ['off'],
'react/prop-types': [
'error',
{
'ignore': [],
'customValidators': [],
'skipUndeclared': true,
},
],
'react/react-in-jsx-scope': ['off'],
'react/require-default-props': ['off'],
'react/require-optimization': ['off'],
'react/require-render-return': [2],
'react/self-closing-comp': ['off'],
'react/sort-comp': ['off'],
'react/sort-prop-types': ['off'],
'react/state-in-constructor': ['off'],
'react/static-property-placement': ['off'],
'react/style-prop-object': ['off'],
'react/void-dom-elements-no-children': ['off'],
'require-atomic-updates': ['off'],
'require-await': ['error'],
'require-jsdoc': ['off'],
'require-unicode-regexp': ['off'],
'require-yield': ['error'],
'rest-spread-spacing': ['off'],
'semi': ['off'],
'semi-spacing': ['off'],
'semi-style': ['off'],
'sort-imports': ['off'],
'sort-keys': ['off'],
'sort-vars': ['off'],
'space-after-function-name': ['off'],
'space-after-keywords': ['off'],
'space-before-blocks': ['off'],
'space-before-function-paren': ['off'],
'space-before-function-parentheses': ['off'],
'space-before-keywords': ['off'],
'space-in-brackets': ['off'],
'space-in-parens': ['off'],
'space-infix-ops': ['off'],
'space-return-throw-case': ['off'],
'space-unary-ops': ['off'],
'space-unary-word-ops': ['off'],
'spaced-comment': ['off'],
'strict': ['error', 'never'],
'switch-colon-spacing': ['off'],
'symbol-description': ['off'],
'template-curly-spacing': ['off'],
'template-tag-spacing': ['off'],
'unicode-bom': ['off'],
'use-isnan': ['error'],
'valid-jsdoc': ['off'],
'valid-typeof': ['error'],
'vars-on-top': ['error'],
'wrap-iife': ['off'],
'wrap-regex': ['off'],
'yield-star-spacing': ['error', 'after'],
'yoda': ['off'],
},
'settings': {
'browsers': [
'last 3 chrome version',
'last 3 firefox version',
'edge >= 18',
'safari >= 12',
],
'react': {
'version': '16.10.1',
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment