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: Changed all "warn"ings to "error"s Created Oct. 13, 2016, 2:05 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": "error",
6 "no-alert": "error",
7 "indent": ["error", 2],
8 "valid-jsdoc": "error",
9 "eol-last": "error",
10 "vars-on-top": "off",
11 /* MDN Naming and formatting code */
12 "no-trailing-spaces": "error",
13 "max-len": ["error", 80],
14 "brace-style": ["error", "allman"],
15 /* MDN JavaScript practices */
16 "no-eq-null": "off",
17 "consistent-return": "error",
18 "no-array-constructor": "error",
19 "no-new-object": "error",
20 /* ABP General */
21 "no-warning-comments": "error",
22 /* Palant recommends */
23 "array-bracket-spacing": "error",
24 "arrow-spacing": "error",
25 "comma-spacing": "error",
26 "comma-style": "error",
27 "computed-property-spacing": "error",
28 "key-spacing": "error",
29 "keyword-spacing": "error",
30 "new-parens": "error",
31 "func-call-spacing": "error",
32 "no-var": "error",
33 "no-whitespace-before-property": "error",
34 "object-curly-spacing": "error",
35 "operator-assignment": "error",
36 "operator-linebreak": "error",
37 "padded-blocks": ["error", "never"],
38 "prefer-rest-params": "error",
39 "prefer-spread": "error",
40 "require-yield": "error",
41 "quotes": ["error", "double", {"avoidEscape": true}],
42 "semi": "error",
43 "semi-spacing": "error",
44 "space-before-function-paren": ["error", "never"],
45 "space-in-parens": "error",
46 "space-infix-ops": "error",
47 "space-unary-ops": "error",
48 "spaced-comment": "error",
49 "yield-star-spacing": "error"
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