@cenk1cenk2/eslint-config 3.1.52 → 3.1.54

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,17 @@
1
+ ## [3.1.54](https://gitlab.kilic.dev/config/eslint-config/compare/v3.1.53...v3.1.54) (2025-07-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update globals ([3241cb3](https://gitlab.kilic.dev/config/eslint-config/commit/3241cb31c93e85d56959e3a03614d0b3db60a91e))
7
+
8
+ ## [3.1.53](https://gitlab.kilic.dev/config/eslint-config/compare/v3.1.52...v3.1.53) (2025-07-13)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add globals to svelte configuration ([dca5b5e](https://gitlab.kilic.dev/config/eslint-config/commit/dca5b5e6c71f86ee9c9b77e0b4fa176c2a059077))
14
+
1
15
  ## [3.1.52](https://gitlab.kilic.dev/config/eslint-config/compare/v3.1.51...v3.1.52) (2025-07-13)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/eslint-config",
3
- "version": "3.1.52",
3
+ "version": "3.1.54",
4
4
  "description": "Eslint configuration for my taste.",
5
5
  "main": "index.js",
6
6
  "repository": "git@gitlab.kilic.dev:config/eslint-config.git",
@@ -1,6 +1,7 @@
1
1
  import TypescriptParser from '@typescript-eslint/parser'
2
2
  import SveltePlugin from 'eslint-plugin-svelte'
3
3
  import SvelteParser from 'svelte-eslint-parser'
4
+ import * as globals from 'globals'
4
5
 
5
6
  import { EXTENSIONS_SVELTE } from './constants.js'
6
7
  import ConfigTypescript from './typescript-dynamic.js'
@@ -19,6 +20,11 @@ export default [
19
20
  parserOptions: {
20
21
  parser: TypescriptParser,
21
22
  extraFileExtensions: ['.svelte']
23
+ },
24
+ globals: {
25
+ ...globals.es2020,
26
+ ...globals.node,
27
+ ...globals.browser
22
28
  }
23
29
  },
24
30
  rules: {