Commit dd5768b2 authored by Xunnamius (Morty)'s avatar Xunnamius (Morty)

updates

parent b49859f9
......@@ -5,6 +5,7 @@
"react"
],
"extends": [
"eslint:recommended",
"plugin:flowtype/recommended",
"plugin:react/recommended"
],
......@@ -21,259 +22,12 @@
"es6": true,
"node": true,
"jest": true,
"browser": true
"browser": true,
"webextensions": true
},
"rules": {
"for-direction": "off",
"getter-return": "warn",
"no-await-in-loop": "off",
"no-compare-neg-zero": "error",
"no-cond-assign": "warn",
"no-console": "off",
"no-constant-condition": "error",
"no-control-regex": "warn",
"no-debugger": "error",
"no-dupe-args": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-empty": "off",
"no-empty-character-class": "warn",
"no-ex-assign": "warn",
"no-extra-boolean-cast": "warn",
"no-extra-parens": "off",
"no-extra-semi": "error",
"no-func-assign": "error",
"no-inner-declarations": "error",
"no-invalid-regexp": "error",
"no-irregular-whitespace": "warn",
"no-obj-calls": "warn",
"no-prototype-builtins": "warn",
"no-regex-spaces": "warn",
"no-sparse-arrays": "warn",
"no-template-curly-in-string": "warn",
"no-unexpected-multiline": "warn",
"no-unreachable": "warn",
"no-unsafe-finally": "warn",
"no-unsafe-negation": "warn",
"use-isnan": "warn",
"valid-jsdoc": "off",
"valid-typeof": "warn",
"accessor-pairs": "off",
"array-callback-return": "warn",
"block-scoped-var": "warn",
"class-methods-use-this": "off",
"complexity": "warn",
"consistent-return": "off",
"curly": "off",
"default-case": "warn",
"dot-location": "off",
"dot-notation": "warn",
"eqeqeq": "warn",
"guard-for-in": "off",
"no-alert": "warn",
"no-caller": "warn",
"no-case-declarations": "warn",
"no-div-regex": "off",
"no-else-return": "warn",
"no-empty-function": "off",
"no-empty-pattern": "warn",
"no-eq-null": "error",
"no-eval": "warn",
"no-extend-native": "off",
"no-extra-bind": "warn",
"no-extra-label": "warn",
"no-fallthrough": "off",
"no-floating-decimal": "warn",
"no-global-assign": "off",
"no-implicit-coercion": "off",
"no-implicit-globals": "off",
"no-implied-eval": "off",
"no-invalid-this": "warn",
"no-iterator": "off",
"no-labels": "off",
"no-lone-blocks": "warn",
"no-loop-func": "warn",
"no-magic-numbers": "off",
"no-multi-spaces": "off",
"no-multi-str": "off",
"no-new": "warn",
"no-new-func": "warn",
"no-new-wrappers": "warn",
"no-octal": "warn",
"no-octal-escape": "warn",
"no-param-reassign": "off",
"no-proto": "off",
"no-redeclare": "error",
"no-restricted-properties": "off",
"no-return-assign": "off",
"no-return-await": "error",
"no-script-url": "warn",
"no-self-assign": "warn",
"no-self-compare": "warn",
"no-sequences": "off",
"no-throw-literal": "off",
"no-unmodified-loop-condition": "warn",
"no-unused-expressions": "off",
"no-unused-labels": "warn",
"no-useless-call": "warn",
"no-useless-concat": "off",
"no-useless-escape": "warn",
"no-useless-return": "warn",
"no-void": "off",
"no-warning-comments": "off",
"no-with": "error",
"prefer-promise-reject-errors": ["warn", {"allowEmptyReject": true}],
"radix": "warn",
"require-await": "warn",
"vars-on-top": "warn",
"wrap-iife": "off",
"yoda": "warn",
"strict": "off",
"init-declarations": "off",
"no-catch-shadow": "warn",
"no-delete-var": "warn",
"no-label-var": "error",
"no-restricted-globals": "off",
"no-shadow": "warn",
"no-shadow-restricted-names": "warn",
"no-undef": "error",
"no-undef-init": "warn",
"no-undefined": "off",
"no-unused-vars": "warn",
"no-use-before-define": "error",
"callback-return": "off",
"global-require": "off",
"handle-callback-err": "off",
"no-buffer-constructor": "off",
"no-mixed-requires": "off",
"no-new-require": "off",
"no-path-concat": "off",
"no-process-env": "off",
"no-process-exit": "off",
"no-restricted-modules": "off",
"no-sync": "warn",
"array-bracket-newline": "off",
"array-bracket-spacing": "off",
"array-element-newline": "off",
"block-spacing": "off",
"brace-style": "off",
"camelcase": ["warn", {"properties": "always"}],
"capitalized-comments": "off",
"comma-dangle": "off",
"comma-spacing": "off",
"comma-style": "off",
"computed-property-spacing": "off",
"consistent-this": "off",
"eol-last": "off",
"func-call-spacing": "off",
"func-name-matching": "off",
"func-names": "off",
"func-style": "off",
"function-paren-newline": "off",
"id-blacklist": "off",
"id-length": "off",
"id-match": "off",
"implicit-arrow-linebreak": "off",
"indent": "off",
"jsx-quotes": ["error", "prefer-double"],
"jsx-uses-vars": "on",
"key-spacing": "off",
"keyword-spacing": "off",
"line-comment-position": "off",
"linebreak-style": "off",
"lines-around-comment": "off",
"lines-between-class-members": "off",
"max-depth": "off",
"max-len": "off",
"max-lines": "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-per-chained-call": "off",
"no-array-constructor": "off",
"no-bitwise": "off",
"no-continue": "off",
"no-inline-comments": "off",
"no-lonely-if": "off",
"no-mixed-operators": "off",
"no-mixed-spaces-and-tabs": "warn",
"no-multi-assign": "off",
"no-multiple-empty-lines": "off",
"no-negated-condition": "off",
"no-nested-ternary": "warn",
"no-new-object": "off",
"no-plusplus": "off",
"no-restricted-syntax": "off",
"no-tabs": "off",
"no-ternary": "off",
"no-trailing-spaces": "warn",
"no-underscore-dangle": "off",
"no-unneeded-ternary": "warn",
"no-whitespace-before-property": "off",
"nonblock-statement-body-position": "off",
"object-curly-newline": "off",
"object-curly-spacing": "off",
"object-property-newline": "off",
"one-var": "off",
"one-var-declaration-per-line": "off",
"operator-assignment": "off",
"operator-linebreak": "off",
"padded-blocks": "off",
"padding-line-between-statements": "off",
"quote-props": "off",
"quotes": "off",
"require-jsdoc": "off",
"semi": "off",
"semi-spacing": "off",
"semi-style": "off",
"sort-keys": "off",
"sort-vars": "off",
"space-before-blocks": "off",
"space-before-function-paren": "off",
"space-in-parens": "off",
"space-infix-ops": "off",
"space-unary-ops": "off",
"spaced-comment": "off",
"switch-colon-spacing": "off",
"template-tag-spacing": "off",
"unicode-bom": "off",
"wrap-regex": "off",
"arrow-body-style": "off",
"arrow-parens": "off",
"arrow-spacing": "off",
"constructor-super": "error",
"generator-star-spacing": "off",
"no-class-assign": "error",
"no-confusing-arrow": "off",
"no-const-assign": "error",
"no-dupe-class-members": "error",
"no-duplicate-imports": "off",
"no-new-symbol": "error",
"no-restricted-imports": "off",
"no-this-before-super": "error",
"no-useless-computed-key": "warn",
"no-useless-constructor": "warn",
"no-useless-rename": "warn",
"no-var": "warn",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-const": "off",
"prefer-destructuring": "off",
"prefer-numeric-literals": "off",
"prefer-rest-params": "off",
"prefer-spread": "warn",
"prefer-template": "off",
"require-yield": "error",
"rest-spread-spacing": "off",
"sort-imports": "off",
"symbol-description": "off",
"template-curly-spacing": "off",
"yield-star-spacing": "off",
"flowtype/space-after-type-colon": "off"
"flowtype/space-after-type-colon": "off",
"no-console": "warn",
"no-unused-vars": "warn"
}
}
......@@ -10,5 +10,6 @@
[options]
suppress_comment= \\(.\\|\n\\)*\\flow-disable-line
esproposal.optional_chaining=enable
[strict]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment