Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: eslintrc.json

Issue 29346539: Issue 3692 - Created global eslintrc (Closed)
Patch Set: removed rules covered by eslint:recommends Created Oct. 13, 2016, 2:03 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {
2 "extends": "eslint:recommended",
3 "rules": {
4 /* MDN General practices */
5 "no-else-return": "warn",
6 "no-alert": "warn",
7 "indent": ["warn", 2],
8 "valid-jsdoc": "warn",
9 "eol-last": "warn",
10 "vars-on-top": "off",
11 /* MDN Naming and formatting code */
12 "no-trailing-spaces": "warn",
13 "max-len": ["warn", 80],
14 "brace-style": ["warn", "allman"],
15 /* MDN JavaScript practices */
16 "no-eq-null": "off",
17 "consistent-return": "error",
18 "no-array-constructor": "warn",
19 "no-new-object": "warn",
20 /* ABP General */
21 "no-warning-comments": "warn",
22 /* Palant recommends */
23 "array-bracket-spacing": "warn",
24 "arrow-spacing": "warn",
25 "comma-spacing": "warn",
26 "comma-style": "warn",
27 "computed-property-spacing": "warn",
28 "key-spacing": "warn",
29 "keyword-spacing": "warn",
30 "new-parens": "warn",
31 "func-call-spacing": "warn",
32 "no-var": "warn",
33 "no-whitespace-before-property": "warn",
34 "object-curly-spacing": "warn",
35 "operator-assignment": "warn",
36 "operator-linebreak": "warn",
37 "padded-blocks": ["warn", "never"],
38 "prefer-rest-params": "warn",
39 "prefer-spread": "warn",
40 "require-yield": "warn",
41 "quotes": ["warn", "double", {"avoidEscape": true}],
42 "semi": "warn",
43 "semi-spacing": "warn",
44 "space-before-function-paren": ["warn", "never"],
45 "space-in-parens": "warn",
46 "space-infix-ops": "warn",
47 "space-unary-ops": "warn",
48 "spaced-comment": "warn",
49 "yield-star-spacing": "warn"
50 }
51 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld