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.

60 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 }],
"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",
7 years ago
"comma-dangle": "off",
"consistent-return": "off",
"default-case": "off",
7 years ago
"function-paren-newline": "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-bitwise": "off",
"no-console": ["error", { "allow": ["warn", "error"] }],
"no-empty-function": "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-use-before-define": "off",
"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",
"sort-imports": "off",
"sort-keys": "off",
"sort-vars": "off",
"space-before-function-paren": ["error", "never"]
}
}