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

Side by Side Diff: chrome/browser/resources/.eslintrc.js

Issue 2589333004: WebUI: Experimenting with ESLint, WIP. (Closed)
Patch Set: More relaxing Created 3 years, 7 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 | chrome/browser/resources/gulpfile.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 module.exports = {
2 'env': {
3 'browser': true,
4 'es6': true
5 },
6 'extends': 'eslint:recommended',
7 'rules': {
8 // Disabled checks.
9 'no-case-declarations': 'off',
10 'no-dupe-keys': 'off',
11 'no-extra-boolean-cast': 'off',
12 'no-inner-declarations': 'off',
13 'no-redeclare': 'off',
14 'no-undef': 'off',
15 'no-unused-vars': 'off',
16 'no-useless-escape': 'off',
17
18 // Enabled checks.
19 'comma-dangle': ['error', 'only-multiline'],
20 'linebreak-style': ['error', 'unix'],
21 'max-len': ['error', 80],
22 'no-console': ['error', { allow: ['warn', 'error'] }],
23 'no-constant-condition': ['error', {checkLoops: false}],
24 'no-trailing-spaces': 'error',
25 'object-curly-spacing': ['error', 'never'],
26 'quotes': ['error', 'single', {avoidEscape: true}],
27 'semi': ['error', 'always'],
28 }
29 };
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/gulpfile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698