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

Unified Diff: third_party/WebKit/Source/devtools/.eslintrc.js

Issue 2464283002: DevTools: clang format all the source + clang config landed (2) (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/.eslintrc.js
diff --git a/third_party/WebKit/Source/devtools/front_end/.eslintrc.js b/third_party/WebKit/Source/devtools/.eslintrc.js
similarity index 95%
rename from third_party/WebKit/Source/devtools/front_end/.eslintrc.js
rename to third_party/WebKit/Source/devtools/.eslintrc.js
index a705378231b3dae84788b85f86eddc2ffa2a5e9a..b4f537960053e709863f3af048d4ce6d912538f5 100644
--- a/third_party/WebKit/Source/devtools/front_end/.eslintrc.js
+++ b/third_party/WebKit/Source/devtools/.eslintrc.js
@@ -22,7 +22,6 @@ module.exports = {
// syntax preferences
- // "indent": [2, 2, { "SwitchCase": 1, "CallExpression": {"arguments": 2}, "MemberExpression": 2 }],
"quotes": [2, "single", {
"avoidEscape": true,
"allowTemplateLiterals": true
@@ -53,7 +52,6 @@ module.exports = {
"no-shadow-restricted-names": 2,
// es2015 features
- // "no-useless-constructor": 2,
"require-yield": 2,
"template-curly-spacing": [2, "never"],
@@ -89,6 +87,8 @@ module.exports = {
* Disabled, aspirational rules
*/
+ "indent": [0, 2, { "SwitchCase": 1, "CallExpression": {"arguments": 2}, "MemberExpression": 2 }],
+
// brace-style is disabled, as eslint cannot enforce 1tbs as default, but allman for functions
"brace-style": [0, "allman", { "allowSingleLine": true }],
« no previous file with comments | « third_party/WebKit/Source/devtools/.eslintignore ('k') | third_party/WebKit/Source/devtools/front_end/.eslintignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698