Skip to content

Commit

Permalink
ESLint Plugin: remove formatting rules that conflict with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Oct 23, 2019
1 parent 546524c commit ad9e952
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions packages/eslint-plugin/configs/es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,14 @@ module.exports = {
require.resolve( './jsdoc.js' ),
],
rules: {
'array-bracket-spacing': [ 'error', 'always' ],
'array-callback-return': 'error',
'brace-style': [ 'error', '1tbs' ],
camelcase: [ 'error', {
properties: 'never',
} ],
'comma-dangle': [ 'error', 'always-multiline' ],
'comma-spacing': 'error',
'comma-style': [ 'error', 'last' ],
curly: [ 'error', 'all' ],
'dot-notation': 'error',
'eol-last': 'error',
eqeqeq: 'error',
'func-call-spacing': 'error',
indent: [ 'error', 'tab', { SwitchCase: 1 } ],
'key-spacing': 'error',
'keyword-spacing': 'error',
'linebreak-style': [ 'error', 'unix' ],
'no-alert': 'error',
'no-bitwise': 'error',
Expand All @@ -38,7 +29,6 @@ module.exports = {
'no-lonely-if': 'error',
'no-multi-str': 'error',
'no-mixed-operators': 'error',
'no-mixed-spaces-and-tabs': 'error',
'no-multiple-empty-lines': [ 'error', { max: 1 } ],
'no-multi-spaces': 'error',
'no-negated-in-lhs': 'error',
Expand All @@ -53,29 +43,9 @@ module.exports = {
'no-unused-expressions': 'error',
'no-unused-vars': 'error',
'no-useless-return': 'error',
'no-whitespace-before-property': 'error',
'no-with': 'error',
'object-curly-spacing': [ 'error', 'always' ],
'one-var-declaration-per-line': [ 'error', 'initializations' ],
'operator-linebreak': [ 'error', 'after' ],
'padded-blocks': [ 'error', 'never' ],
'quote-props': [ 'error', 'as-needed' ],
quotes: [ 'error', 'single', { avoidEscape: true } ],
semi: 'error',
'semi-spacing': 'error',
'space-before-blocks': [ 'error', 'always' ],
'space-before-function-paren': [ 'error', {
anonymous: 'never',
named: 'never',
asyncArrow: 'always',
} ],
'space-in-parens': [ 'error', 'always' ],
'space-infix-ops': 'error',
'space-unary-ops': [ 'error', {
overrides: {
'!': true,
},
} ],
'valid-typeof': 'error',
'vars-on-top': 'error',
'wrap-iife': 'error',
Expand Down

0 comments on commit ad9e952

Please sign in to comment.