@h1fra/eslint-config 1.0.1 → 1.0.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h1fra/eslint-config",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "private": false,
6
6
  "repository": {
@@ -29,21 +29,19 @@
29
29
  "test": "eslint . --ext .ts"
30
30
  },
31
31
  "dependencies": {
32
+ "@eslint/js": "^9.11.1",
32
33
  "@typescript-eslint/eslint-plugin": "^8.7.0",
33
34
  "@typescript-eslint/parser": "^8.7.0",
34
- "@eslint/js": "^9.11.1",
35
+ "eslint": "^9.11.1",
35
36
  "eslint-config-prettier": "^9.1.0",
37
+ "eslint-import-resolver-typescript": "^3.6.3",
36
38
  "eslint-plugin-import-x": "^4.3.0",
37
39
  "eslint-plugin-prettier": "5.2.1",
38
- "eslint": "^9.11.1",
39
- "prettier": "^3.3.3"
40
+ "globals": "^15.9.0",
41
+ "prettier": "^3.3.3",
42
+ "typescript-eslint": "^8.7.0"
40
43
  },
41
44
  "peerDependencies": {
42
45
  "typescript": ">=5.0.0"
43
- },
44
- "devDependencies": {
45
- "eslint-import-resolver-typescript": "3.6.3",
46
- "globals": "^15.9.0",
47
- "typescript-eslint": "^8.7.0"
48
46
  }
49
47
  }
@@ -3,6 +3,7 @@ import tsParser from '@typescript-eslint/parser';
3
3
  import prettier from 'eslint-config-prettier';
4
4
  import importEslint from 'eslint-plugin-import-x';
5
5
  import prettierRecommended from 'eslint-plugin-prettier/recommended';
6
+ import globals from 'globals';
6
7
  import * as tseslint from 'typescript-eslint';
7
8
 
8
9
  export default tseslint.config(
@@ -20,6 +21,7 @@ export default tseslint.config(
20
21
  parser: tsParser,
21
22
  ecmaVersion: 'latest',
22
23
  sourceType: 'module',
24
+ globals: globals.node,
23
25
  parserOptions: { project: './tsconfig.json' },
24
26
  },
25
27
  rules: {