]>
Commit | Line | Data |
---|---|---|
8727f598 | 1 | { |
0e4808bf JD |
2 | "env": { |
3 | "browser": true, | |
4 | "es6": true | |
5 | }, | |
6 | "parserOptions": { | |
7 | "sourceType": "module" | |
8 | }, | |
9 | "extends": "eslint:recommended", | |
10 | "rules": { | |
11 | "no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": true }], | |
12 | "no-constant-condition": ["error", { "checkLoops": false }], | |
13 | "no-var": "error", | |
14 | "no-useless-constructor": "error", | |
15 | "object-shorthand": ["error", "methods", { "avoidQuotes": true }], | |
651c23ec JD |
16 | "prefer-arrow-callback": "error", |
17 | "arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": false } ], | |
18 | "arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }], | |
19 | "arrow-spacing": ["error"], | |
20 | "no-confusing-arrow": ["error", { "allowParens": true }], | |
0e4808bf | 21 | } |
8727f598 | 22 | } |