@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 CHANGED
@@ -1,5 +1,5 @@
1
- import { defineConfig } from 'eslint/config'
2
1
  import eslint from '@eslint/js'
2
+ import { defineConfig } from 'eslint/config'
3
3
  import globals from 'globals'
4
4
 
5
5
  export default defineConfig([
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' },
@@ -3,6 +3,7 @@ import packageJson from 'eslint-plugin-package-json'
3
3
 
4
4
  export default defineConfig([
5
5
  packageJson.configs.recommended,
6
+ packageJson.configs.stylistic,
6
7
  {
7
8
  files: ['**/package.json'],
8
9
  rules: {
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([
@@ -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])
@@ -1,5 +1,5 @@
1
- import { defineConfig } from 'eslint/config'
2
1
  import stylistic from '@stylistic/eslint-plugin'
2
+ import { defineConfig } from 'eslint/config'
3
3
 
4
4
  export default defineConfig([
5
5
  stylistic.configs.customize({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliexme/eslint-config",
3
- "version": "3.4.1",
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.2",
42
- "@eslint/eslintrc": "^3.3.3",
43
- "@eslint/js": "^9.39.2",
44
- "@stylistic/eslint-plugin": "^5.8.0",
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.1",
47
- "eslint-plugin-package-json": "^0.88.2",
48
- "globals": "^17.3.0",
49
- "typescript-eslint": "^8.55.0"
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": "631be7d58d4fe8456aa45ec3c0a5d280c17f98b8"
91
+ "gitHead": "cefbac0302fa4ec3f19a2a1e038b42d8f1ae23c8"
92
92
  }