@cenk1cenk2/eslint-config 2.7.60 → 3.0.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## [3.0.1](https://gitlab.kilic.dev/config/eslint-config/compare/v3.0.0...v3.0.1) (2024-10-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update configuration ([9aabf20](https://gitlab.kilic.dev/config/eslint-config/commit/9aabf2067ada855430472e9ebeb475276db3ed24))
7
+
8
+ # [3.0.0](https://gitlab.kilic.dev/config/eslint-config/compare/v2.7.60...v3.0.0) (2024-10-18)
9
+
10
+
11
+ ### Performance Improvements
12
+
13
+ * update ([b66a01b](https://gitlab.kilic.dev/config/eslint-config/commit/b66a01bdeae267a9bd8629302c965c1a79b436a2))
14
+
15
+
16
+ ### BREAKING CHANGES
17
+
18
+ * requires eslint9
19
+
1
20
  ## [2.7.60](https://gitlab.kilic.dev/config/eslint-config/compare/v2.7.59...v2.7.60) (2024-10-18)
2
21
 
3
22
 
package/import-strict.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import ImportPlugin from 'eslint-plugin-import'
2
2
 
3
- import { ALL_KNOWN_JAVASCRIPT_FILE_EXTENSIONS } from './constants.js'
4
3
  /** @type {import("eslint").Linter.Config[]} */
5
4
  export default [
6
5
  {
package/import.js CHANGED
@@ -1,7 +1,5 @@
1
1
  import ImportPlugin from 'eslint-plugin-import'
2
2
 
3
- import { ALL_KNOWN_JAVASCRIPT_FILE_EXTENSIONS } from './constants.js'
4
-
5
3
  /** @type {import("eslint").Linter.Config[]} */
6
4
  export default [
7
5
  {
package/package.json CHANGED
@@ -1,12 +1,16 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/eslint-config",
3
- "version": "2.7.60",
3
+ "version": "3.0.1",
4
4
  "description": "Eslint configuration for my taste.",
5
5
  "main": "index.js",
6
6
  "repository": "git@gitlab.kilic.dev:config/eslint-config.git",
7
7
  "author": "Cenk Kilic",
8
8
  "license": "MIT",
9
9
  "type": "module",
10
+ "exports": {
11
+ ".": "./base.js",
12
+ "./*": "./*.js"
13
+ },
10
14
  "scripts": {
11
15
  "format": "prettier --log-level warn --write ./*.js && eslint --fix",
12
16
  "lint": "eslint",
package/utils.js CHANGED
@@ -1,8 +1,6 @@
1
1
  import { loadTsConfig } from 'load-tsconfig'
2
2
  import ImportPlugin from 'eslint-plugin-import'
3
3
 
4
- import { ALL_KNOWN_JAVASCRIPT_FILE_EXTENSIONS } from './constants.js'
5
-
6
4
  /**
7
5
  * @param {{ paths?: string[], tsconfig?: string, tsconfigDir?: string}} options
8
6
  * @returns {import("eslint").Linter.Config['rules']}
@@ -78,7 +76,6 @@ export function generateImportGroups(options) {
78
76
  export function generateImportGroupsWithOverride(options) {
79
77
  return [
80
78
  {
81
- files: ALL_KNOWN_JAVASCRIPT_FILE_EXTENSIONS,
82
79
  plugins: {
83
80
  import: ImportPlugin
84
81
  },
package/constants.js DELETED
@@ -1 +0,0 @@
1
- export const ALL_KNOWN_JAVASCRIPT_FILE_EXTENSIONS = ['*.js', '*.cjs', '*.mjs', '*.ts', '*.tsx', '*.vue', '*.svelte']