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.

62 lines
1.9 KiB

7 years ago
{
"env": {
"es6": true,
"node" : true,
"browser" : true,
"webextensions": true
7 years ago
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
7 years ago
"extends": [ "eslint:all" ],
7 years ago
"rules": {
7 years ago
"array-bracket-newline": ["error", { "multiline": true }],
7 years ago
"arrow-body-style": "off",
7 years ago
"array-element-newline": "off",
"arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }],
7 years ago
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
7 years ago
"comma-dangle": "off",
"consistent-return": "off",
"default-case": "off",
7 years ago
"id-length": "off",
"indent": ["error", 2],
7 years ago
"max-statements": ["error", 15],
"multiline-ternary": "off",
7 years ago
"newline-after-var": "off",
"newline-before-return": "off",
7 years ago
"no-magic-numbers": "off",
"no-bitwise": "off",
"no-use-before-define": "off",
"no-warning-comments": "off",
"no-console": ["error", { "allow": ["warn", "error"] }],
"no-empty-function": "off",
"no-mixed-operators": "off",
"no-plusplus": "off",
"capitalized-comments": "off",
7 years ago
"no-ternary": "off",
7 years ago
"no-undefined": "off",
7 years ago
"object-curly-spacing": [
"error",
"always", { "arraysInObjects": false, "objectsInObjects": false }
],
7 years ago
"object-curly-newline": ["error", { "consistent": true }],
"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
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"quote-props": "off",
7 years ago
"require-jsdoc": "off",
"sort-imports": "off",
"sort-keys": "off",
"sort-vars": "off",
"space-before-function-paren": ["error", "never"]
}
}