You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

91 lines
2.9 KiB

7 years ago
{
"env": {
"es6": true,
"node" : true,
"browser" : true,
"webextensions": true
7 years ago
},
"plugins": [
"react",
"@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
7 years ago
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module",
"project": "./tsconfig.json"
7 years ago
},
7 years ago
"extends": [ "eslint:all", "plugin:react/recommended" ],
7 years ago
"rules": {
7 years ago
"array-bracket-newline": ["error", { "multiline": true }],
"array-element-newline": "off",
7 years ago
"arrow-body-style": "off",
7 years ago
"arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }],
7 years ago
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
7 years ago
"capitalized-comments": "off",
"class-methods-use-this": "off",
7 years ago
"comma-dangle": "off",
"consistent-return": "off",
"default-case": "off",
7 years ago
"dot-location": ["error", "property"],
7 years ago
"function-paren-newline": "off",
5 years ago
"function-call-argument-newline": ["error", "consistent"],
7 years ago
"id-length": "off",
"indent": ["error", 2],
"init-declarations": "off",
7 years ago
"jsx-quotes": ["error", "prefer-single"],
7 years ago
"max-classes-per-file": "off",
"max-lines": "off",
6 years ago
"max-params": ["error", 10],
7 years ago
"max-statements": ["error", 15],
"multiline-comment-style": "off",
7 years ago
"multiline-ternary": "off",
7 years ago
"newline-after-var": "off",
"newline-before-return": "off",
7 years ago
"newline-per-chained-call": "off",
"no-alert": "off",
7 years ago
"no-bitwise": "off",
"no-console": ["error", { "allow": ["warn", "error"] }],
6 years ago
"no-continue": "off",
7 years ago
"no-empty-function": "off",
"no-extra-parens": "off",
7 years ago
"no-magic-numbers": "off",
7 years ago
"no-mixed-operators": "off",
"no-plusplus": "off",
7 years ago
"no-ternary": "off",
7 years ago
"no-undefined": "off",
7 years ago
"no-undef-init": "off",
"no-unused-vars": "off",
7 years ago
"no-use-before-define": "off",
6 years ago
"no-useless-constructor": "off",
7 years ago
"no-warning-comments": "off",
7 years ago
"object-curly-newline": ["error", { "consistent": true }],
7 years ago
"object-curly-spacing": ["error", "always", { "arraysInObjects": false, "objectsInObjects": false }],
7 years ago
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }],
7 years ago
"object-shorthand": "off",
7 years ago
"one-var": "off",
7 years ago
"padded-blocks": "off",
7 years ago
"prefer-const": "off",
"prefer-destructuring": ["error", { "AssignmentExpression": {"array": false}}],
7 years ago
"prefer-template": "off",
7 years ago
"quote-props": "off",
7 years ago
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
7 years ago
"require-jsdoc": "off",
6 years ago
"require-unicode-regexp": "off",
"semi": "off",
7 years ago
"sort-imports": "off",
"sort-keys": "off",
"sort-vars": "off",
7 years ago
"space-before-function-paren": ["error", "never"],
"react/jsx-indent": ["error", 2],
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"@typescript-eslint/no-unused-vars": ["error", { args: "none" }],
"@typescript-eslint/semi": ["error"]
7 years ago
}
}