Skip to content

Commit

Permalink
eslint updates
Browse files Browse the repository at this point in the history
  • Loading branch information
omrilotan committed Oct 2, 2020
1 parent 9cf29ca commit b43bfd3
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions packages/eslintrc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ module.exports = {
'import',
],
rules: {
'array-bracket-spacing': [ 'error', 'always' ],
'arrow-parens': [ 2, 'as-needed' ],
'comma-dangle': [ 'error', 'always-multiline' ],
'comma-spacing': 'error',
'dot-location': [ 'error', 'property' ],
'dot-notation': 'error',
'eol-last': 'error',
indent: [
'error', 'tab', {
SwitchCase: 1,
Expand All @@ -21,17 +28,19 @@ module.exports = {
},
},
],
semi: [ 'error', 'always' ],
'arrow-parens': [ 2, 'as-needed' ],
'comma-dangle': [ 'error', 'always-multiline' ],
'comma-spacing': 'error',
'array-bracket-spacing': [ 'error', 'always' ],
'object-curly-spacing': [ 'error', 'always' ],
quotes: [ 'error', 'single' ],
'dot-location': [ 'error', 'property' ],
'dot-notation': 'error',
'no-multiple-empty-lines': [
'error', {
max: 1,
maxBOF: 0,
maxEOF: 0,
}
],
'no-implicit-globals': 'error',
'no-multi-spaces': 'error',
'no-trailing-spaces': 'error',
'object-curly-spacing': [ 'error', 'always' ],
quotes: [ 'error', 'single' ],
semi: [ 'error', 'always' ],
'import/no-self-import': 2,
'import/no-internal-modules': 0,
'import/no-dynamic-require': 0,
Expand Down

0 comments on commit b43bfd3

Please sign in to comment.