eslint-config-seek 14.0.2 → 14.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base.js +2 -0
- package/index.js +1 -2
- package/package.json +2 -3
package/base.js
CHANGED
|
@@ -190,6 +190,7 @@ module.exports = [
|
|
|
190
190
|
// However, there is a pending PR which improves the behaviour of this rule https://github.com/import-js/eslint-plugin-import/pull/2716
|
|
191
191
|
// https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-duplicates.md#inline-type-imports
|
|
192
192
|
'import-x/no-duplicates': [ERROR, { 'prefer-inline': true }],
|
|
193
|
+
'import-x/export': ERROR,
|
|
193
194
|
},
|
|
194
195
|
},
|
|
195
196
|
{
|
|
@@ -207,6 +208,7 @@ module.exports = [
|
|
|
207
208
|
{ commonjs: true, amd: true, ignore: ['.svg$', '^file?'] },
|
|
208
209
|
],
|
|
209
210
|
'import-x/no-duplicates': ERROR,
|
|
211
|
+
'import-x/export': ERROR,
|
|
210
212
|
},
|
|
211
213
|
},
|
|
212
214
|
{
|
package/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
const react = require('eslint-plugin-react');
|
|
2
2
|
const reactHooks = require('eslint-plugin-react-hooks');
|
|
3
3
|
const base = require('./base');
|
|
4
|
-
const { fixupPluginRules } = require('@eslint/compat');
|
|
5
4
|
|
|
6
5
|
const globals = require('globals');
|
|
7
6
|
|
|
@@ -30,7 +29,7 @@ module.exports = [
|
|
|
30
29
|
{
|
|
31
30
|
plugins: {
|
|
32
31
|
react,
|
|
33
|
-
'react-hooks':
|
|
32
|
+
'react-hooks': reactHooks,
|
|
34
33
|
},
|
|
35
34
|
|
|
36
35
|
languageOptions: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-seek",
|
|
3
|
-
"version": "14.0
|
|
3
|
+
"version": "14.2.0",
|
|
4
4
|
"description": "ESLint configuration used by SEEK",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://github.com/seek-oss/eslint-config-seek#readme",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@eslint/compat": "^1.1.1",
|
|
23
22
|
"typescript-eslint": "^8.6.0",
|
|
24
23
|
"eslint-config-prettier": "^9.1.0",
|
|
25
24
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
@@ -27,7 +26,7 @@
|
|
|
27
26
|
"eslint-plugin-import-x": "^4.2.1",
|
|
28
27
|
"eslint-plugin-jest": "^28.8.0",
|
|
29
28
|
"eslint-plugin-react": "^7.35.0",
|
|
30
|
-
"eslint-plugin-react-hooks": "^
|
|
29
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
31
30
|
"globals": "^15.9.0"
|
|
32
31
|
},
|
|
33
32
|
"devDependencies": {
|