@aliexme/eslint-config 2.0.4 → 2.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.
@@ -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',
@@ -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.0.4",
3
+ "version": "2.2.0",
4
4
  "description": "Set of configs for ESLint",
5
5
  "private": false,
6
6
  "author": "Alexander Smirnov <al.smirnov996@gmail.com>",
@@ -37,21 +37,21 @@
37
37
  "access": "public"
38
38
  },
39
39
  "dependencies": {
40
- "@eslint/compat": "^1.2.1",
41
- "@eslint/eslintrc": "^3.1.0",
42
- "@eslint/js": "^9.13.0",
43
- "@stylistic/eslint-plugin": "^2.9.0",
40
+ "@eslint/compat": "^1.2.7",
41
+ "@eslint/eslintrc": "^3.3.0",
42
+ "@eslint/js": "^9.21.0",
43
+ "@stylistic/eslint-plugin": "^4.0.1",
44
44
  "eslint-plugin-import": "^2.31.0",
45
- "globals": "^15.11.0",
46
- "typescript-eslint": "^8.10.0"
45
+ "globals": "^16.0.0",
46
+ "typescript-eslint": "^8.24.1"
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",
54
+ "eslint-plugin-react-native": "^5.0.0",
55
55
  "eslint-plugin-vue": "^9.0.0",
56
56
  "prettier": "^3.0.0"
57
57
  },
@@ -78,5 +78,5 @@
78
78
  "optional": true
79
79
  }
80
80
  },
81
- "gitHead": "83f3dd25afaa08bf9e6781c769a12c8207508de8"
81
+ "gitHead": "d9dd047ad7d94b5cbca23dee147746f8f1ccc6dd"
82
82
  }