@ocavue/eslint-config 2.10.0 → 2.10.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.
@@ -1 +1 @@
1
- {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../src/react.js"],"names":[],"mappings":"AAWA,+FAiCC"}
1
+ {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../src/react.js"],"names":[],"mappings":"AAUA,+FAiCC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocavue/eslint-config",
3
3
  "type": "module",
4
- "version": "2.10.0",
4
+ "version": "2.10.1",
5
5
  "packageManager": "pnpm@9.12.1",
6
6
  "description": "",
7
7
  "author": "ocavue <ocavue@gmail.com>",
@@ -32,7 +32,6 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@eslint-types/unicorn": "^52.0.0",
35
- "@eslint/compat": "^1.2.0",
36
35
  "@eslint/js": "^9.12.0",
37
36
  "@eslint/markdown": "^6.2.0",
38
37
  "eslint-config-flat-gitignore": "^0.3.0",
package/src/imports.js CHANGED
@@ -12,7 +12,7 @@ export function imports() {
12
12
  import: importPlugin,
13
13
  },
14
14
  settings: {
15
- 'import/resolver': {
15
+ 'import-x/resolver': {
16
16
  // You will also need to install and configure the TypeScript resolver
17
17
  // See also https://github.com/import-js/eslint-import-resolver-typescript#configuration
18
18
  typescript: true,
package/src/react.js CHANGED
@@ -1,6 +1,5 @@
1
1
  // @ts-check
2
2
 
3
- import { fixupPluginRules } from '@eslint/compat'
4
3
  import reactPlugin from 'eslint-plugin-react'
5
4
  import reactHooksPlugin from 'eslint-plugin-react-hooks'
6
5
 
@@ -32,7 +31,7 @@ export function react() {
32
31
  name: 'react-hooks',
33
32
  files: [GLOB_TS, GLOB_TSX],
34
33
  plugins: {
35
- 'react-hooks': fixupPluginRules(reactHooksPlugin),
34
+ 'react-hooks': reactHooksPlugin,
36
35
  },
37
36
  rules: {
38
37
  'react-hooks/rules-of-hooks': 'error',