Skip to content

Commit

Permalink
MDL-59761 eslint: Upgrade to v4.4.1
Browse files Browse the repository at this point in the history
Including adding some new default rules.
  • Loading branch information
danpoltawski committed Sep 6, 2017
1 parent b3cfb01 commit 9702503
Show file tree
Hide file tree
Showing 3 changed files with 656 additions and 290 deletions.
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

// === Possible Errors ===
'comma-dangle': 'off',
'no-compare-neg-zero': 'error',
'no-cond-assign': 'error',
'no-console': 'error',
'no-constant-condition': 'error',
Expand Down Expand Up @@ -106,6 +107,7 @@
'block-spacing': 'warn',
'brace-style': ['warn', '1tbs'],
'camelcase': 'warn',
'capitalized-comments': ['warn', 'always', { 'ignoreConsecutiveComments': true }],
'comma-spacing': ['warn', { 'before': false, 'after': true }],
'comma-style': ['warn', 'last'],
'computed-property-spacing': 'error',
Expand Down
Loading

0 comments on commit 9702503

Please sign in to comment.