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

Side by Side Diff: .eslintrc

Issue 2432993005: Turn on eslint rule one-var and fix existing errors. (Closed)
Patch Set: Created 4 years, 2 months 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 | dashboard/dashboard/elements/alerts-table.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "extends": "google", 2 "extends": "google",
3 "plugins": ["html"], 3 "plugins": ["html"],
4 "rules": { 4 "rules": {
5 "accessor-pairs": "off", 5 "accessor-pairs": "off",
6 "array-bracket-spacing": "off", 6 "array-bracket-spacing": "off",
7 "array-callback-return": "off", 7 "array-callback-return": "off",
8 "arrow-parens": "off", 8 "arrow-parens": "off",
9 "block-scoped-var": "off", 9 "block-scoped-var": "off",
10 "brace-style": "off", 10 "brace-style": "off",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 "no-unreachable": "error", 71 "no-unreachable": "error",
72 "no-unused-expressions": "off", 72 "no-unused-expressions": "off",
73 "no-unused-vars": "off", 73 "no-unused-vars": "off",
74 "no-use-before-define": "off", 74 "no-use-before-define": "off",
75 "no-useless-call": "off", 75 "no-useless-call": "off",
76 "no-useless-concat": "off", 76 "no-useless-concat": "off",
77 "no-useless-escape": "off", 77 "no-useless-escape": "off",
78 "no-warning-comments": "off", 78 "no-warning-comments": "off",
79 "no-whitespace-before-property": "off", 79 "no-whitespace-before-property": "off",
80 "object-curly-spacing": "off", 80 "object-curly-spacing": "off",
81 "one-var": "off", 81 "one-var": ["error", {
82 var: "never",
83 let: "never",
84 const: "never",
85 }],
82 "one-var-declaration-per-line": "off", 86 "one-var-declaration-per-line": "off",
83 "operator-assignment": "off", 87 "operator-assignment": "off",
84 "padded-blocks": "off", 88 "padded-blocks": "off",
85 "quote-props": "off", 89 "quote-props": "off",
86 "radix": "off", 90 "radix": "off",
87 "require-jsdoc": "off", 91 "require-jsdoc": "off",
88 "semi": "off", 92 "semi": "off",
89 "semi-spacing": "off", 93 "semi-spacing": "off",
90 "space-unary-ops": "off", 94 "space-unary-ops": "off",
91 "spaced-comment": "off", 95 "spaced-comment": "off",
92 "valid-jsdoc": "off", 96 "valid-jsdoc": "off",
93 "wrap-iife": "off", 97 "wrap-iife": "off",
94 "yoda": "off" 98 "yoda": "off"
95 } 99 }
96 } 100 }
OLDNEW
« no previous file with comments | « no previous file | dashboard/dashboard/elements/alerts-table.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698