@gossi/config-eslint
Advanced tools
Comparing version 0.5.1 to 0.6.0
@@ -94,7 +94,7 @@ // @ts-check | ||
...obj(override.rules) | ||
}, | ||
settings: { | ||
...obj(source.settings), | ||
...obj(override.settings) | ||
} | ||
// settings: { | ||
// ...obj(source.settings), | ||
// ...obj(override.settings), | ||
// } | ||
}; | ||
@@ -101,0 +101,0 @@ } |
@@ -31,4 +31,3 @@ 'use strict'; | ||
}, | ||
plugins: ['n'], | ||
extends: [] | ||
plugins: ['n'] | ||
}, | ||
@@ -53,8 +52,8 @@ (config) => merge(config, personalPreferences), | ||
}, | ||
plugins: ['n'], | ||
extends: ['plugin:import/typescript'] | ||
plugins: ['n'] | ||
}, | ||
(config) => merge(config, personalPreferences), | ||
(config) => merge(config, require('./rules/imports')), | ||
(config) => merge(config, require('./rules/typescript').build()) | ||
(config) => merge(config, require('./rules/typescript')), | ||
(config) => merge(config, require('./rules/typescript-imports')) | ||
); | ||
@@ -99,8 +98,8 @@ } | ||
}, | ||
plugins: ['n'], | ||
extends: ['plugin:import/typescript'] | ||
plugins: ['n'] | ||
}, | ||
(config) => merge(config, personalPreferences), | ||
(config) => merge(config, require('./rules/imports')), | ||
(config) => merge(config, require('./rules/typescript')) | ||
(config) => merge(config, require('./rules/typescript')), | ||
(config) => merge(config, require('./rules/typescript-imports')) | ||
); | ||
@@ -107,0 +106,0 @@ } |
@@ -179,8 +179,8 @@ 'use strict'; | ||
}, | ||
plugins: ['n'], | ||
extends: ['plugin:import/typescript'] | ||
plugins: ['n'] | ||
}, | ||
(config) => merge(config, personalPreferences), | ||
(config) => merge(config, require('./rules/imports')), | ||
(config) => merge(config, require('./rules/typescript')) | ||
(config) => merge(config, require('./rules/typescript')), | ||
(config) => merge(config, require('./rules/typescript-imports')) | ||
); | ||
@@ -187,0 +187,0 @@ } |
@@ -55,7 +55,9 @@ 'use strict'; | ||
plugins: ['n'], | ||
extends: ['plugin:n/recommended', 'plugin:import/typescript'] | ||
extends: ['plugin:n/recommended'], | ||
settings: {} | ||
}, | ||
(config) => merge(config, personalPreferences), | ||
(config) => merge(config, require('./rules/imports')), | ||
(config) => merge(config, require('./rules/typescript')) | ||
(config) => merge(config, require('./rules/typescript')), | ||
(config) => merge(config, require('./rules/typescript-imports')) | ||
); | ||
@@ -101,7 +103,9 @@ } | ||
plugins: ['n'], | ||
extends: ['plugin:n/recommended', 'plugin:import/typescript'] | ||
extends: ['plugin:n/recommended'], | ||
settings: {} | ||
}, | ||
(config) => merge(config, personalPreferences), | ||
(config) => merge(config, require('./rules/imports')), | ||
(config) => merge(config, require('./rules/typescript')) | ||
(config) => merge(config, require('./rules/typescript')), | ||
(config) => merge(config, require('./rules/typescript-imports')) | ||
); | ||
@@ -108,0 +112,0 @@ } |
'use strict'; | ||
const plugin = 'import'; | ||
const plugin = 'i'; | ||
@@ -11,3 +11,3 @@ /** | ||
plugins: [plugin], | ||
extends: ['plugin:import/recommended'], | ||
extends: ['plugin:i/recommended'], | ||
rules: { | ||
@@ -14,0 +14,0 @@ // ---------------------------- |
{ | ||
"name": "@gossi/config-eslint", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"repository": "https://github.com/gossi/frontend-configs", | ||
@@ -9,3 +9,4 @@ "dependencies": { | ||
"eslint-plugin-decorator-position": "^5.0.2", | ||
"eslint-plugin-import": "^2.28.0", | ||
"eslint-plugin-i": "^2.28.0-2", | ||
"eslint-import-resolver-typescript": "^3.6.0", | ||
"eslint-plugin-json": "^3.1.0", | ||
@@ -60,2 +61,3 @@ "eslint-plugin-n": "^16.0.1", | ||
"eslint-plugin-ember": "^11.10.0", | ||
"eslint-plugin-import": "^2.28.0", | ||
"eslint-plugin-qunit": "^7.3.4", | ||
@@ -62,0 +64,0 @@ "eslint-plugin-storybook": "^0.6.13", |
50901
34
1592
17
15
+ Addedeslint-plugin-i@^2.28.0-2
+ Added@nolyfill/is-core-module@1.0.39(transitive)
+ Addedenhanced-resolve@5.17.1(transitive)
+ Addedeslint-import-resolver-typescript@3.6.3(transitive)
+ Addedeslint-plugin-i@2.29.1(transitive)
+ Addedis-bun-module@1.2.1(transitive)
+ Addedtapable@2.2.1(transitive)
- Removedeslint-plugin-import@^2.28.0
- Removed@rtsao/scc@1.1.0(transitive)
- Removed@types/json5@0.0.29(transitive)
- Removedarray-includes@3.1.8(transitive)
- Removedarray.prototype.findlastindex@1.2.5(transitive)
- Removedarray.prototype.flat@1.3.2(transitive)
- Removedarray.prototype.flatmap@1.3.2(transitive)
- Removeddoctrine@2.1.0(transitive)
- Removedes-shim-unscopables@1.0.2(transitive)
- Removedeslint-plugin-import@2.30.0(transitive)
- Removedjson5@1.0.2(transitive)
- Removedobject.fromentries@2.0.8(transitive)
- Removedobject.groupby@1.0.3(transitive)
- Removedobject.values@1.2.0(transitive)
- Removedstrip-bom@3.0.0(transitive)
- Removedtsconfig-paths@3.15.0(transitive)