@cenk1cenk2/eslint-config 3.1.13 → 3.1.14

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [3.1.14](https://gitlab.kilic.dev/config/eslint-config/compare/v3.1.13...v3.1.14) (2024-12-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update all minor dependency updates ([46f93fd](https://gitlab.kilic.dev/config/eslint-config/commit/46f93fdb02be7f737d85d3cf6be75072584ce1c4))
7
+ * issues with globals ([d57b539](https://gitlab.kilic.dev/config/eslint-config/commit/d57b539f9b9323a7a65120b21c7c7e2ebc37fcf3))
8
+
1
9
  ## [3.1.13](https://gitlab.kilic.dev/config/eslint-config/compare/v3.1.12...v3.1.13) (2024-12-04)
2
10
 
3
11
 
package/index.js CHANGED
@@ -5,6 +5,7 @@ import ConfigTypescriptDynamic from './typescript-dynamic.js'
5
5
  import ConfigTypescript from './typescript.js'
6
6
  import * as utils from './utils.js'
7
7
  import * as constants from './constants.js'
8
+ import * as globals from 'globals'
8
9
 
9
10
  export const configs = {
10
11
  ['javascript']: ConfigJavascript,
@@ -14,4 +15,4 @@ export const configs = {
14
15
  ['typescript-dynamic']: ConfigTypescriptDynamic
15
16
  }
16
17
 
17
- export { utils, constants }
18
+ export { utils, constants, globals }
package/javascript.js CHANGED
@@ -4,6 +4,7 @@ import TypescriptEslint from 'typescript-eslint'
4
4
  import { EXTENSIONS_JAVASCRIPT, EXTENSIONS } from './constants.js'
5
5
 
6
6
  import ConfigImports from './import.js'
7
+ import { globals } from './index.js'
7
8
 
8
9
  /** @type {import("eslint").Linter.Config[]} */
9
10
  export default [
@@ -19,9 +20,9 @@ export default [
19
20
  files: [...EXTENSIONS],
20
21
  languageOptions: {
21
22
  globals: {
22
- browser: true,
23
- es6: true,
24
- node: true
23
+ ...globals.node,
24
+ ...globals.es2020,
25
+ ...globals.browser
25
26
  },
26
27
  parserOptions: {
27
28
  createDefaultProgram: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/eslint-config",
3
- "version": "3.1.13",
3
+ "version": "3.1.14",
4
4
  "description": "Eslint configuration for my taste.",
5
5
  "main": "index.js",
6
6
  "repository": "git@gitlab.kilic.dev:config/eslint-config.git",
@@ -61,22 +61,23 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@eslint/js": "^9.16.0",
64
- "@stylistic/eslint-plugin": "^2.11.0",
65
- "@typescript-eslint/eslint-plugin": "^8.17.0",
66
- "@typescript-eslint/parser": "^8.17.0",
64
+ "@stylistic/eslint-plugin": "^2.12.0",
65
+ "@typescript-eslint/eslint-plugin": "^8.18.0",
66
+ "@typescript-eslint/parser": "^8.18.0",
67
67
  "eslint-plugin-import": "^2.31.0",
68
+ "globals": "^15.13.0",
68
69
  "load-tsconfig": "^0.2.5",
69
- "typescript-eslint": "^8.17.0"
70
+ "typescript-eslint": "^8.18.0"
70
71
  },
71
72
  "devDependencies": {
72
73
  "@cenk1cenk2/cz-cc": "^1.7.12",
73
74
  "@vue/eslint-config-typescript": "^14.1.4",
74
75
  "eslint": "^9.16.0",
75
76
  "eslint-plugin-vue": "^9.32.0",
76
- "lint-staged": "^15.2.10",
77
+ "lint-staged": "^15.2.11",
77
78
  "prettier": "^3.4.2",
78
79
  "simple-git-hooks": "^2.11.1",
79
- "svelte": "^5.5.3"
80
+ "svelte": "^5.10.1"
80
81
  },
81
82
  "config": {
82
83
  "commitizen": {