@bpa-dev/eslint-config 1.4.3 → 1.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.
Files changed (2) hide show
  1. package/index.js +4 -2
  2. package/package.json +7 -6
package/index.js CHANGED
@@ -4,8 +4,9 @@
4
4
  * @see https://eslint.org/docs/latest/use/configure/configuration-files
5
5
  */
6
6
  import js from '@eslint/js'
7
+ import compatPlugin from 'eslint-plugin-compat'
7
8
  import importPlugin from 'eslint-plugin-import'
8
- import perfectionistPlugin from 'eslint-plugin-perfectionist'
9
+ import { configs as perfectionistPlugin } from 'eslint-plugin-perfectionist'
9
10
  import prettierPlugin from 'eslint-plugin-prettier/recommended'
10
11
  // @ts-expect-error - no types available
11
12
  import promisePlugin from 'eslint-plugin-promise'
@@ -32,7 +33,8 @@ export default defineConfig([
32
33
  { files: ['**/*.{js,mjs,cjs,jsx,ts,tsx,mts,cts}'] },
33
34
  js.configs.recommended,
34
35
  tseslintPlugin.all,
35
- perfectionistPlugin.configs['recommended-natural'],
36
+ compatPlugin.configs['flat/recommended'],
37
+ perfectionistPlugin['recommended-natural'],
36
38
  importPlugin.flatConfigs.recommended,
37
39
  importPlugin.flatConfigs.typescript,
38
40
  prettierPlugin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpa-dev/eslint-config",
3
- "version": "1.4.3",
3
+ "version": "1.5.1",
4
4
  "description": "Набор конфигураций для ESLint, Prettier и Stylelint для проектов BPA",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -42,10 +42,11 @@
42
42
  "dependencies": {
43
43
  "@eslint/js": "^9.39.2",
44
44
  "@stylistic/stylelint-plugin": "^5.0.1",
45
- "@typescript-eslint/eslint-plugin": "^8.54.0",
46
- "@typescript-eslint/parser": "^8.54.0",
45
+ "@typescript-eslint/eslint-plugin": "^8.55.0",
46
+ "@typescript-eslint/parser": "^8.55.0",
47
47
  "eslint-config-prettier": "^10.1.8",
48
48
  "eslint-import-resolver-typescript": "^4.4.4",
49
+ "eslint-plugin-compat": "^6.1.0",
49
50
  "eslint-plugin-import": "^2.32.0",
50
51
  "eslint-plugin-jsx-a11y": "^6.10.2",
51
52
  "eslint-plugin-perfectionist": "^5.5.0",
@@ -55,19 +56,19 @@
55
56
  "eslint-plugin-react-hooks": "^7.0.1",
56
57
  "eslint-plugin-security": "^3.0.1",
57
58
  "eslint-plugin-unicorn": "^62.0.0",
58
- "stylelint-config-recess-order": "^7.6.0",
59
+ "stylelint-config-recess-order": "^7.6.1",
59
60
  "stylelint-config-recommended": "^18.0.0",
60
61
  "stylelint-high-performance-animation": "^2.0.0",
61
62
  "stylelint-order": "^7.0.1",
62
63
  "stylelint-plugin-logical-css": "^1.3.0",
63
64
  "stylelint-plugin-use-baseline": "^1.2.2",
64
65
  "stylelint-use-nesting": "^6.0.1",
65
- "typescript-eslint": "^8.54.0"
66
+ "typescript-eslint": "^8.55.0"
66
67
  },
67
68
  "devDependencies": {
68
69
  "eslint": "^9.39.2",
69
70
  "prettier": "^3.8.1",
70
- "stylelint": "^17.1.1",
71
+ "stylelint": "^17.2.0",
71
72
  "typescript": "^5.9.3"
72
73
  }
73
74
  }