@aliexme/eslint-config 3.4.1 → 3.5.1
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/configs/base.js +1 -1
- package/configs/import.js +3 -3
- package/configs/package-json.js +1 -0
- package/configs/react.js +2 -2
- package/configs/recommended.js +2 -2
- package/configs/stylistic.js +1 -1
- package/package.json +10 -10
package/configs/base.js
CHANGED
package/configs/import.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import tseslint from 'typescript-eslint'
|
|
2
|
-
import { createNodeResolver, importX } from 'eslint-plugin-import-x'
|
|
3
1
|
import { createTypeScriptImportResolver } from 'eslint-import-resolver-typescript'
|
|
2
|
+
import { createNodeResolver, importX } from 'eslint-plugin-import-x'
|
|
3
|
+
import tseslint from 'typescript-eslint'
|
|
4
4
|
|
|
5
5
|
export default /** @type {import('eslint').Linter.Config[]} */ (
|
|
6
6
|
tseslint.config([
|
|
@@ -32,7 +32,7 @@ export default /** @type {import('eslint').Linter.Config[]} */ (
|
|
|
32
32
|
'import-x/order': [
|
|
33
33
|
'error',
|
|
34
34
|
{
|
|
35
|
-
groups: ['builtin', 'external', 'internal', ['parent', 'sibling'], 'index', 'object'],
|
|
35
|
+
groups: [['builtin', 'external'], 'internal', ['parent', 'sibling'], 'index', 'object'],
|
|
36
36
|
pathGroups: [
|
|
37
37
|
{ pattern: '{react*,vue*,svelte*,astro*}', group: 'external', position: 'before' },
|
|
38
38
|
{ pattern: '{next*,nuxt*}', group: 'external', position: 'before' },
|
package/configs/package-json.js
CHANGED
package/configs/react.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineConfig } from 'eslint/config'
|
|
2
|
-
// @ts-expect-error Could not find a declaration file for module 'eslint-plugin-react/configs/recommended.js'
|
|
3
|
-
import eslintPluginReactRecommended from 'eslint-plugin-react/configs/recommended.js'
|
|
4
2
|
// @ts-expect-error Could not find a declaration file for module 'eslint-plugin-react/configs/jsx-runtime.js'
|
|
5
3
|
import eslintPluginReactJsxRuntime from 'eslint-plugin-react/configs/jsx-runtime.js'
|
|
4
|
+
// @ts-expect-error Could not find a declaration file for module 'eslint-plugin-react/configs/recommended.js'
|
|
5
|
+
import eslintPluginReactRecommended from 'eslint-plugin-react/configs/recommended.js'
|
|
6
6
|
import eslintPluginReactHooks from 'eslint-plugin-react-hooks'
|
|
7
7
|
|
|
8
8
|
export default defineConfig([
|
package/configs/recommended.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineConfig } from 'eslint/config'
|
|
2
2
|
|
|
3
3
|
import baseConfig from './base.js'
|
|
4
|
-
import typescriptConfig from './typescript.js'
|
|
5
|
-
import stylisticConfig from './stylistic.js'
|
|
6
4
|
import importConfig from './import.js'
|
|
7
5
|
import packageJsonConfig from './package-json.js'
|
|
6
|
+
import stylisticConfig from './stylistic.js'
|
|
7
|
+
import typescriptConfig from './typescript.js'
|
|
8
8
|
|
|
9
9
|
export default defineConfig([baseConfig, typescriptConfig, stylisticConfig, importConfig, packageJsonConfig])
|
package/configs/stylistic.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aliexme/eslint-config",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Set of configs for ESLint",
|
|
6
6
|
"keywords": [
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"configs"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@eslint/compat": "^2.0.
|
|
42
|
-
"@eslint/eslintrc": "^3.3.
|
|
43
|
-
"@eslint/js": "^9.39.
|
|
44
|
-
"@stylistic/eslint-plugin": "^5.
|
|
41
|
+
"@eslint/compat": "^2.0.3",
|
|
42
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
43
|
+
"@eslint/js": "^9.39.4",
|
|
44
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
45
45
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
46
|
-
"eslint-plugin-import-x": "^4.16.
|
|
47
|
-
"eslint-plugin-package-json": "^0.
|
|
48
|
-
"globals": "^17.
|
|
49
|
-
"typescript-eslint": "^8.
|
|
46
|
+
"eslint-plugin-import-x": "^4.16.2",
|
|
47
|
+
"eslint-plugin-package-json": "^0.91.0",
|
|
48
|
+
"globals": "^17.4.0",
|
|
49
|
+
"typescript-eslint": "^8.57.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"eslint": "^9.0.0",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"publishConfig": {
|
|
89
89
|
"access": "public"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "cefbac0302fa4ec3f19a2a1e038b42d8f1ae23c8"
|
|
92
92
|
}
|