22 "parser": "babel-eslint",
33 "env": {
44 "node": true,
5- "es6": true
5+ "es6": true,
6+ "mocha": true
67 },
8+ "parserOptions": {
9+ "ecmaVersion": 7,
10+ "ecmaFeatures": {
11+ "experimentalObjectRestSpread": true,
12+ "jsx": true
13+ },
14+ "sourceType": "module"
15+ },
16+ "extends": [
17+ "prettier",
18+ "eslint:recommended"
19+ ],
20+ "plugins": [
21+ "prettier"
22+ ],
723 "rules": {
8- # Possible errors
9- comma-dangle: 2,
10- no-console: 2,
11- no-cond-assign: 2,
12- no-control-regex: 2,
13- no-debugger: 2,
14- no-dupe-args: 2,
15- no-dupe-keys: 2,
16- no-duplicate-case: 2,
17- no-empty: 2,
18- no-empty-character-class: 2,
19- no-ex-assign: 2,
20- no-extra-boolean-cast: 2,
21- no-extra-semi: 2,
22- no-func-assign: 2,
23- no-invalid-regexp: 2,
24- no-irregular-whitespace: 2,
25- no-negated-in-lhs: 2,
26- no-obj-calls: 2,
27- no-proto: 2,
28- no-unexpected-multiline: 2,
29- no-unreachable: 2,
30- use-isnan: 2,
31- valid-typeof: 2,
32- valid-jsdoc: 2,
33- # Best practices
34- curly: [2, "multi"],
35- eqeqeq: 2,
36- no-fallthrough: 2,
37- no-param-reassign: 2,
38- no-octal: 2,
39- no-redeclare: 2,
40- # strict mode
41- strict: [2, "global"],
42- # variables
43- no-delete-var: 2,
44- no-undef: 2,
45- no-unused-vars: 2,
46- # node
47- no-mixed-requires: 2,
48- no-new-require: 2,
49- # stylistic
50- brace-style: 2,
51- camelcase: 2,
52- comma-style: 2,
53- comma-spacing: 2,
54- eol-last: 2,
55- indent: [2, 2, {SwitchCase: 1}],
56- keyword-spacing: 2,
57- max-len: [2, 80, 2],
58- max-depth: [2, 4],
59- new-cap: 2,
60- new-parens: 2,
61- no-mixed-spaces-and-tabs: 2,
62- no-multiple-empty-lines: [2, {max: 2}],
63- no-trailing-spaces: 2,
64- quotes: [2, "single"],
65- semi: 2,
66- space-before-blocks: [2, "always"],
67- space-before-function-paren: [2, "never"],
68- space-in-parens: [2, "never"],
69- space-infix-ops: 2,
70- space-unary-ops: 2,
71- # es6
72- arrow-parens: [2, "always"],
73- arrow-spacing: [2, {"before": true, "after": true}],
74- constructor-super: 2,
75- no-class-assign: 2,
76- no-confusing-arrow: 2,
77- no-const-assign: 2,
78- no-dupe-class-members: 2,
79- no-this-before-super: 2,
80- no-var: 2,
81- prefer-const: 2,
82- prefer-rest-params: 2,
83- template-curly-spacing: 2
24+ "prettier/prettier": [
25+ 2,
26+ {
27+ "trailingComma": "es5",
28+ "singleQuote": true,
29+ "printWidth": 80,
30+ "semi": false,
31+ "parser": "flow",
32+ "jsxBracketSameLine": true
33+ }
34+ ],
35+ "no-unused-vars": 2,
36+ "no-console": 2,
37+ "no-restricted-syntax": 2,
38+ "no-undef": 2
8439 }
85- }
40+ }
0 commit comments