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

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: A new unused variable was born 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/Tests.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 "no-cond-assign": 2, 56 "no-cond-assign": 2,
57 "no-debugger": 2, 57 "no-debugger": 2,
58 "no-console": [2, { "allow": ["warn", "error", "assert", "timeStamp", "t ime", "timeEnd"] }], 58 "no-console": [2, { "allow": ["warn", "error", "assert", "timeStamp", "t ime", "timeEnd"] }],
59 "no-dupe-keys": 2, 59 "no-dupe-keys": 2,
60 "no-duplicate-case": 2, 60 "no-duplicate-case": 2,
61 "no-empty-character-class": 2, 61 "no-empty-character-class": 2,
62 "no-unreachable": 2, 62 "no-unreachable": 2,
63 "no-unsafe-negation": 2, 63 "no-unsafe-negation": 2,
64 "radix": 2, 64 "radix": 2,
65 "valid-typeof": 2, 65 "valid-typeof": 2,
66 "no-unused-vars": [2, { "args": "none", "vars": "local" }],
66 67
67 // es2015 features 68 // es2015 features
68 "require-yield": 2, 69 "require-yield": 2,
69 "template-curly-spacing": [2, "never"], 70 "template-curly-spacing": [2, "never"],
70 71
71 // spacing details 72 // spacing details
72 "space-infix-ops": 2, 73 "space-infix-ops": 2,
73 "space-in-parens": [2, "never"], 74 "space-in-parens": [2, "never"],
74 "space-before-function-paren": [2, "never"], 75 "space-before-function-paren": [2, "never"],
75 "no-whitespace-before-property": 2, 76 "no-whitespace-before-property": 2,
(...skipping 34 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/Tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698