Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: third_party/WebKit/Source/devtools/.eslintrc.js

Issue 2560043005: DevTools: Remove unused variables. Disallow unused variables with eslint (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 module.exports = { 1 module.exports = {
2 "root": true, 2 "root": true,
3 3
4 "env": { 4 "env": {
5 "browser": true, 5 "browser": true,
6 "es6": true 6 "es6": true
7 }, 7 },
8 8
9 /** 9 /**
10 * ESLint rules 10 * ESLint rules
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 "no-shadow-restricted-names": 2, 55 "no-shadow-restricted-names": 2,
56 "no-cond-assign": 2, 56 "no-cond-assign": 2,
57 "no-debugger": 2, 57 "no-debugger": 2,
58 "no-dupe-keys": 2, 58 "no-dupe-keys": 2,
59 "no-duplicate-case": 2, 59 "no-duplicate-case": 2,
60 "no-empty-character-class": 2, 60 "no-empty-character-class": 2,
61 "no-unreachable": 2, 61 "no-unreachable": 2,
62 "no-unsafe-negation": 2, 62 "no-unsafe-negation": 2,
63 "radix": 2, 63 "radix": 2,
64 "valid-typeof": 2, 64 "valid-typeof": 2,
65 "no-unused-vars": [2, { "args": "none", "vars": "local" }],
65 66
66 // es2015 features 67 // es2015 features
67 "require-yield": 2, 68 "require-yield": 2,
68 "template-curly-spacing": [2, "never"], 69 "template-curly-spacing": [2, "never"],
69 70
70 // spacing details 71 // spacing details
71 "space-infix-ops": 2, 72 "space-infix-ops": 2,
72 "space-in-parens": [2, "never"], 73 "space-in-parens": [2, "never"],
73 "space-before-function-paren": [2, "never"], 74 "space-before-function-paren": [2, "never"],
74 "no-whitespace-before-property": 2, 75 "no-whitespace-before-property": 2,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 "afterColon": true, 111 "afterColon": true,
111 "align": "value" 112 "align": "value"
112 }], 113 }],
113 // quote-props is diabled, as property quoting styles are too varied to enforce. 114 // quote-props is diabled, as property quoting styles are too varied to enforce.
114 "quote-props": [0, "as-needed"], 115 "quote-props": [0, "as-needed"],
115 116
116 // no-implicit-globals will prevent accidental globals 117 // no-implicit-globals will prevent accidental globals
117 "no-implicit-globals": [0] 118 "no-implicit-globals": [0]
118 } 119 }
119 }; 120 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698