Update README.md etc
This commit is contained in:
1 parent
ce1b231dc8
commit
81e8f2c5f2
3 files changed
+73
-55
No files matched your search
+24
-24
@@ -12,42 +12,42 @@ export default [
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
'arrow-spacing': [1, { before: true, after: true }],
|
||||
'comma-dangle': [1, { arrays: 'always-multiline', objects: 'always-multiline' }],
|
||||
'comma-spacing': 1,
|
||||
'arrow-spacing': ['warn', { before: true, after: true }],
|
||||
'comma-dangle': ['warn', { arrays: 'always-multiline', objects: 'always-multiline' }],
|
||||
'comma-spacing': 'warn',
|
||||
'comma-style': 'error',
|
||||
'curly': ['error', 'multi-line', 'consistent'],
|
||||
'dot-location': ['error', 'property'],
|
||||
'handle-callback-err': 'off',
|
||||
'indent': [1, 'tab'],
|
||||
'keyword-spacing': 1,
|
||||
'indent': ['warn', 'tab'],
|
||||
'keyword-spacing': 'warn',
|
||||
'max-nested-callbacks': ['error', { max: 4 }],
|
||||
'max-statements-per-line': ['error', { max: 2 }],
|
||||
'no-console': 'off',
|
||||
'no-empty': 1,
|
||||
'no-empty-function': 1,
|
||||
'no-empty': 'warn',
|
||||
'no-empty-function': 'warn',
|
||||
'no-floating-decimal': 'error',
|
||||
'no-lonely-if': 1,
|
||||
'no-multi-spaces': 1,
|
||||
'no-multiple-empty-lines': [1, { max: 3, maxEOF: 1, maxBOF: 0 }],
|
||||
'no-lonely-if': 'warn',
|
||||
'no-multi-spaces': 'warn',
|
||||
'no-multiple-empty-lines': ['warn', { max: 3, maxEOF: 1, maxBOF: 0 }],
|
||||
'no-shadow': ['error', { allow: ['err', 'resolve', 'reject'] }],
|
||||
'no-trailing-spaces': 1,
|
||||
'no-unreachable': 1,
|
||||
'no-unused-vars': 1,
|
||||
'no-trailing-spaces': 'warn',
|
||||
'no-unreachable': 'warn',
|
||||
'no-unused-vars': 'warn',
|
||||
'no-use-before-define': ['error', { functions: false, classes: true }],
|
||||
'no-var': 'error',
|
||||
'object-curly-spacing': [1, 'always'],
|
||||
'object-curly-spacing': ['warn', 'always'],
|
||||
'prefer-const': 'error',
|
||||
'quotes': [1, 'single'],
|
||||
'semi': [1, 'always'],
|
||||
'sort-vars': 1,
|
||||
'space-before-blocks': 1,
|
||||
'space-before-function-paren': [1, { anonymous: 'never', named: 'never', asyncArrow: 'always' }],
|
||||
'space-in-parens': 1,
|
||||
'space-infix-ops': 1,
|
||||
'space-unary-ops': 1,
|
||||
'spaced-comment': 1,
|
||||
'wrap-regex': 1,
|
||||
'quotes': ['warn', 'single'],
|
||||
'semi': ['warn', 'always'],
|
||||
'sort-vars': 'warn',
|
||||
'space-before-blocks': 'warn',
|
||||
'space-before-function-paren': ['warn', { anonymous: 'never', named: 'never', asyncArrow: 'always' }],
|
||||
'space-in-parens': 'warn',
|
||||
'space-infix-ops': 'warn',
|
||||
'space-unary-ops': 'warn',
|
||||
'spaced-comment': 'warn',
|
||||
'wrap-regex': 'warn',
|
||||
'yoda': 'error',
|
||||
},
|
||||
ignores: ['node_modules', '*min.js', '*bundle*', 'build/*', 'dist/*'],
|
||||
|
||||
Reference in new issue
Block a user