@faergeek/eslint-config 7.1.6 → 8.0.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.
Files changed (2) hide show
  1. package/index.js +0 -16
  2. package/package.json +1 -2
package/index.js CHANGED
@@ -4,7 +4,6 @@ import { defineConfig } from 'eslint/config';
4
4
  import reactPlugin from 'eslint-plugin-react';
5
5
  import reactHooksPlugin from 'eslint-plugin-react-hooks';
6
6
  import simpleImportSortPlugin from 'eslint-plugin-simple-import-sort';
7
- import globals from 'globals';
8
7
  import typescriptEslint from 'typescript-eslint';
9
8
 
10
9
  export const base = defineConfig({
@@ -47,27 +46,12 @@ export const base = defineConfig({
47
46
  },
48
47
  });
49
48
 
50
- export const browser = defineConfig({
51
- languageOptions: {
52
- globals: globals.browser,
53
- },
54
- });
55
-
56
- export const node = defineConfig({
57
- languageOptions: {
58
- globals: globals.nodeBuiltin,
59
- },
60
- });
61
-
62
49
  export const react = defineConfig({
63
50
  extends: [
64
51
  reactPlugin.configs.flat.recommended,
65
52
  reactPlugin.configs.flat['jsx-runtime'],
66
53
  reactHooksPlugin.configs['recommended-latest'],
67
54
  ],
68
- languageOptions: {
69
- globals: globals['shared-node-browser'],
70
- },
71
55
  settings: { react: { version: 'detect' } },
72
56
  rules: {
73
57
  'react/jsx-boolean-value': 'warn',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@faergeek/eslint-config",
4
- "version": "7.1.6",
4
+ "version": "8.0.0",
5
5
  "exports": "./index.js",
6
6
  "files": [
7
7
  "index.js"
@@ -18,7 +18,6 @@
18
18
  "eslint-plugin-react": "^7.23.2",
19
19
  "eslint-plugin-react-hooks": "^5.0.0",
20
20
  "eslint-plugin-simple-import-sort": "^12.0.0",
21
- "globals": "^16.0.0",
22
21
  "typescript-eslint": "^8.0.0"
23
22
  },
24
23
  "peerDependencies": {