@aliexme/eslint-config 2.1.0 → 2.3.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.
@@ -1,4 +1,3 @@
1
- import { fixupPluginRules } from '@eslint/compat'
2
1
  // @ts-expect-error Could not find a declaration file for module 'eslint-plugin-react-native'
3
2
  import eslintPluginReactNative from 'eslint-plugin-react-native'
4
3
 
@@ -6,7 +5,7 @@ import eslintPluginReactNative from 'eslint-plugin-react-native'
6
5
  export default [
7
6
  {
8
7
  plugins: {
9
- 'react-native': fixupPluginRules(eslintPluginReactNative),
8
+ 'react-native': eslintPluginReactNative,
10
9
  },
11
10
  rules: {
12
11
  'react-native/no-unused-styles': 'error',
package/configs/react.js CHANGED
@@ -2,7 +2,6 @@
2
2
  import eslintPluginReactRecommended from 'eslint-plugin-react/configs/recommended.js'
3
3
  // @ts-expect-error Could not find a declaration file for module 'eslint-plugin-react/configs/jsx-runtime.js'
4
4
  import eslintPluginReactJsxRuntime from 'eslint-plugin-react/configs/jsx-runtime.js'
5
- // @ts-expect-error Could not find a declaration file for module 'eslint-plugin-react-hooks'
6
5
  import eslintPluginReactHooks from 'eslint-plugin-react-hooks'
7
6
 
8
7
  /** @type {import('eslint').Linter.Config[]} */
@@ -3,7 +3,6 @@ import stylistic from '@stylistic/eslint-plugin'
3
3
  /** @type {import('eslint').Linter.Config[]} */
4
4
  export default [
5
5
  stylistic.configs.customize({
6
- flat: true,
7
6
  jsx: true,
8
7
  arrowParens: true,
9
8
  blockSpacing: true,
package/configs/vue.js CHANGED
@@ -1,4 +1,3 @@
1
- // @ts-expect-error Could not find a declaration file for module 'eslint-plugin-vue'
2
1
  import eslintPluginVue from 'eslint-plugin-vue'
3
2
 
4
3
  /** @type {import('eslint').Linter.Config[]} */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliexme/eslint-config",
3
- "version": "2.1.0",
3
+ "version": "2.3.0",
4
4
  "description": "Set of configs for ESLint",
5
5
  "private": false,
6
6
  "author": "Alexander Smirnov <al.smirnov996@gmail.com>",
@@ -37,22 +37,22 @@
37
37
  "access": "public"
38
38
  },
39
39
  "dependencies": {
40
- "@eslint/compat": "^1.2.4",
41
- "@eslint/eslintrc": "^3.2.0",
42
- "@eslint/js": "^9.17.0",
43
- "@stylistic/eslint-plugin": "^2.12.1",
40
+ "@eslint/compat": "^1.2.7",
41
+ "@eslint/eslintrc": "^3.3.1",
42
+ "@eslint/js": "^9.23.0",
43
+ "@stylistic/eslint-plugin": "^4.2.0",
44
44
  "eslint-plugin-import": "^2.31.0",
45
- "globals": "^15.14.0",
46
- "typescript-eslint": "^8.18.1"
45
+ "globals": "^16.0.0",
46
+ "typescript-eslint": "^8.28.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "eslint": "^9.0.0",
50
- "eslint-config-prettier": "^9.0.0",
50
+ "eslint-config-prettier": "^10.0.0",
51
51
  "eslint-plugin-prettier": "^5.0.0",
52
52
  "eslint-plugin-react": "^7.0.0",
53
53
  "eslint-plugin-react-hooks": "^5.0.0",
54
- "eslint-plugin-react-native": "^4.0.0",
55
- "eslint-plugin-vue": "^9.0.0",
54
+ "eslint-plugin-react-native": "^5.0.0",
55
+ "eslint-plugin-vue": "^10.0.0",
56
56
  "prettier": "^3.0.0"
57
57
  },
58
58
  "peerDependenciesMeta": {
@@ -78,5 +78,5 @@
78
78
  "optional": true
79
79
  }
80
80
  },
81
- "gitHead": "9ae510e4b3200d033bd3e2d0e4016ff323b553c3"
81
+ "gitHead": "6c40c2572e104b50bf5c90d8387bafbc27433641"
82
82
  }