@beyonk/eslint-config
Advanced tools
Comparing version 4.0.1 to 4.1.0
'use strict' | ||
module.exports = { | ||
off: 0, | ||
warn: 1, | ||
error: 2, | ||
off: 'off', | ||
warn: 'warn', | ||
error: 'error', | ||
single: 'single', | ||
@@ -11,3 +11,4 @@ any: 'any', | ||
always: 'always', | ||
all: 'all' | ||
all: 'all', | ||
readonly: 'readonly' | ||
} |
{ | ||
"name": "@beyonk/eslint-config", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "Eslint config for beyonk", | ||
@@ -27,14 +27,13 @@ "main": "node.js", | ||
"devDependencies": { | ||
"eslint": "^5.15.1", | ||
"eslint-plugin-svelte3": "^2.7.3" | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^7.2.0" | ||
}, | ||
"dependencies": { | ||
"babel-eslint": "^8.2.5", | ||
"eslint-config-standard": "^12.0.0", | ||
"eslint-plugin-import": "^2.16.0", | ||
"eslint-plugin-mocha": "^5.3.0", | ||
"eslint-plugin-node": "^8.0.1", | ||
"eslint-plugin-promise": "^4.0.1", | ||
"eslint-plugin-standard": "^4.0.0" | ||
"eslint-config-standard": "^14.1.1", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-mocha": "^7.0.1", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.1" | ||
} | ||
} |
'use strict' | ||
const { readonly, off } = require('./constants') | ||
module.exports = { | ||
extends: [ | ||
'@beyonk/eslint-config', | ||
extends: './node.js', | ||
globals: { | ||
describe: readonly, | ||
context: readonly, | ||
it: readonly, | ||
beforeEach: readonly, | ||
afterEach: readonly, | ||
before: readonly, | ||
after: readonly | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2019, | ||
sourceType: 'module' | ||
}, | ||
env: { | ||
es6: true, | ||
browser: true | ||
}, | ||
plugins: [ | ||
'svelte3' | ||
], | ||
'overrides': [ | ||
overrides: [ | ||
{ | ||
'files': ['*.svelte','*.html'], | ||
'rules': { | ||
'import/first': 'off', | ||
'import/no-duplicates': 'off', | ||
'import/no-mutable-exports': 'off', | ||
'import/no-unresolved': 'off' | ||
} | ||
files: [ | ||
'**/*.svelte', | ||
'**/*.html' | ||
], | ||
rules: { | ||
'import/first': off, | ||
'import/no-duplicates': off, | ||
'import/no-mutable-exports': off, | ||
'import/no-unresolved': off, | ||
'no-multiple-empty-lines': off, | ||
'a11y-no-onchange': off | ||
}, | ||
settings: { | ||
'svelte3/ignore-styles': attrs => attrs.lang === 'scss' | ||
}, | ||
processor: 'svelte3/svelte3' | ||
} | ||
] | ||
} |
4944
7
61
+ Addedeslint-config-standard@14.1.1(transitive)
+ Addedeslint-plugin-es@3.0.1(transitive)
+ Addedeslint-plugin-mocha@7.0.1(transitive)
+ Addedeslint-plugin-node@11.1.0(transitive)
+ Addedeslint-utils@2.1.0(transitive)
+ Addedramda@0.27.2(transitive)
+ Addedregexpp@3.2.0(transitive)
- Removedbabel-eslint@^8.2.5
- Removed@babel/code-frame@7.0.0-beta.44(transitive)
- Removed@babel/generator@7.0.0-beta.44(transitive)
- Removed@babel/helper-function-name@7.0.0-beta.44(transitive)
- Removed@babel/helper-get-function-arity@7.0.0-beta.44(transitive)
- Removed@babel/helper-split-export-declaration@7.0.0-beta.44(transitive)
- Removed@babel/highlight@7.0.0-beta.44(transitive)
- Removed@babel/template@7.0.0-beta.44(transitive)
- Removed@babel/traverse@7.0.0-beta.44(transitive)
- Removed@babel/types@7.0.0-beta.44(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedbabel-eslint@8.2.6(transitive)
- Removedbabylon@7.0.0-beta.44(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedeslint-config-standard@12.0.0(transitive)
- Removedeslint-plugin-es@1.4.1(transitive)
- Removedeslint-plugin-mocha@5.3.0(transitive)
- Removedeslint-plugin-node@8.0.1(transitive)
- Removedeslint-scope@3.7.1(transitive)
- Removedeslint-utils@1.4.3(transitive)
- Removedestraverse@4.3.0(transitive)
- Removedglobals@11.12.0(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedinvariant@2.2.4(transitive)
- Removedjs-tokens@3.0.2(transitive)
- Removedjsesc@2.5.2(transitive)
- Removedlodash@4.17.21(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedms@2.1.3(transitive)
- Removedramda@0.26.1(transitive)
- Removedregexpp@2.0.1(transitive)
- Removedsemver@5.7.2(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedto-fast-properties@2.0.0(transitive)
- Removedtrim-right@1.0.1(transitive)
Updatedeslint-plugin-import@^2.20.2
Updatedeslint-plugin-mocha@^7.0.1
Updatedeslint-plugin-node@^11.1.0
Updatedeslint-plugin-promise@^4.2.1