@d-kuehn/eslint-config 1.0.8 → 1.1.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 (3) hide show
  1. package/README.md +13 -11
  2. package/dist/index.js +0 -1
  3. package/package.json +7 -4
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @d-kuehn/eslint-config
2
2
 
3
+ [![Latest Release](https://gitlab.com/d-kuehn/eslint-config/-/badges/release.svg)](https://gitlab.com/d-kuehn/eslint-config/-/releases)
4
+
3
5
  A comprehensive collection of shareable ESLint configurations for JavaScript and TypeScript development.
4
6
 
5
7
  ## Quick Start
@@ -34,7 +36,7 @@ import {
34
36
  export default combine(
35
37
  defaults(),
36
38
  typescript(),
37
- stylistic()
39
+ stylistic(),
38
40
  // Add more configurations as needed
39
41
  );
40
42
  ```
@@ -53,7 +55,7 @@ export default combine(
53
55
 
54
56
  | Configuration | Purpose | Targeted Files |
55
57
  | --------------------------------------------------------------------------------------------------------- | ------------------------------ | --------------------------------------- |
56
- | [importX() v4.4.2](https://github.com/un-ts/eslint-plugin-import-x) | ES6+ import/export syntax | All JavaScript/TypeScript files, `.vue` |
58
+ | [importX() v4.4.3](https://github.com/un-ts/eslint-plugin-import-x) | ES6+ import/export syntax | All JavaScript/TypeScript files, `.vue` |
57
59
  | [jsdoc() v50.5.0](https://github.com/gajus/eslint-plugin-jsdoc) | JSDoc comments validation | All JavaScript/TypeScript files |
58
60
  | [jsonc() v2.18.2](https://github.com/ota-meshi/eslint-plugin-jsonc) | JSON validation and formatting | `.json`, `.jsonc`, `.json5` |
59
61
  | [regexp() v2.7.0](https://github.com/ota-meshi/eslint-plugin-regexp) | Regular expressions validation | All JavaScript/TypeScript files, `.vue` |
@@ -75,7 +77,7 @@ export default combine(
75
77
  | ---------------------------------------------------------------------------------------------------------------------- | --------------------------- | --------------------------------------------------- |
76
78
  | [vitest() v1.1.10](https://github.com/vitest-dev/eslint-plugin-vitest) | Vitest test rules | `**/*.{spec,test,bench,benchmark}.?([cm])[jt]s?(x)` |
77
79
  | [playwright() v2.1.0](https://github.com/playwright-community/eslint-plugin-playwright) | Playwright E2E test rules | `tests/e2e/**`, `**/*.e2e.?([cm])[jt]s?(x)` |
78
- | [testingLibrary() v6.4.0](https://github.com/testing-library/eslint-plugin-testing-library) | Testing Library with Vue.js | `**/*.{spec,test,bench,benchmark}.?([cm])[jt]s?(x)` |
80
+ | [testingLibrary() v6.5.0](https://github.com/testing-library/eslint-plugin-testing-library) | Testing Library with Vue.js | `**/*.{spec,test,bench,benchmark}.?([cm])[jt]s?(x)` |
79
81
 
80
82
  ## Configuration Options
81
83
 
@@ -83,9 +85,9 @@ Each configuration accepts an options object:
83
85
 
84
86
  ```ts
85
87
  interface Options {
86
- ignores?: string[]; // Files to ignore
87
- plugins?: Record<string, TSESLint.FlatConfig.Plugin | TSESLint.FlatConfig.Plugins>; // Additional ESLint plugins
88
- rules?: Record<string, TSESLint.FlatConfig.RuleEntry>; // Custom rule configurations
88
+ ignores?: string[]; // Files to ignore
89
+ plugins?: Record<string, TSESLint.Linter.Plugin>; // Additional ESLint plugins
90
+ rules?: Record<string, TSESLint.SharedConfig.RuleEntry>; // Custom rule configurations
89
91
  }
90
92
  ```
91
93
 
@@ -123,13 +125,13 @@ export default combine(
123
125
  typescript({
124
126
  ignores: ['*.test.ts'],
125
127
  rules: {
126
- '@typescript-eslint/no-explicit-any': 'off'
127
- }
128
+ '@typescript-eslint/no-explicit-any': 'off',
129
+ },
128
130
  }),
129
131
  stylistic({
130
132
  rules: {
131
- '@stylistic/indent': ['error', 4]
132
- }
133
- })
133
+ '@stylistic/indent': ['error', 4],
134
+ },
135
+ }),
134
136
  );
135
137
  ```
package/dist/index.js CHANGED
@@ -701,7 +701,6 @@ var tailwindCss = async (options = {}) => {
701
701
  var testingLibrary = async (options = {}) => {
702
702
  const commonIgnores = [...GLOBS_EXCLUDE, ...options.ignores ?? []];
703
703
  const [pluginTestingLibrary, eslintCompat] = await Promise.all([
704
- // @ts-expect-error TS7016: Could not find a declaration file for module eslint-plugin-testing-library
705
704
  interopDefault(import("eslint-plugin-testing-library")),
706
705
  interopDefault(import("@eslint/compat"))
707
706
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-kuehn/eslint-config",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -12,8 +12,11 @@
12
12
  "build": "tsup --format esm --clean --dts",
13
13
  "update:readme": "node --experimental-strip-types ./bin/updateReadme.ts"
14
14
  },
15
- "keywords": [],
15
+ "keywords": [
16
+ "eslint-config"
17
+ ],
16
18
  "author": "d. kuehn <doc.kuehn@arcor.de>",
19
+ "changelog": "https://gitlab.com/d-kuehn/eslint-config/-/blob/develop/CHANGELOG.md",
17
20
  "license": "MIT",
18
21
  "homepage": "https://gitlab.com/d-kuehn/eslint-config",
19
22
  "repository": {
@@ -32,7 +35,7 @@
32
35
  "@vue/eslint-config-typescript": "14.1.3",
33
36
  "eslint": "9.15.0",
34
37
  "eslint-flat-config-utils": "0.4.0",
35
- "eslint-plugin-import-x": "4.4.2",
38
+ "eslint-plugin-import-x": "4.4.3",
36
39
  "eslint-plugin-jsdoc": "50.5.0",
37
40
  "eslint-plugin-jsonc": "2.18.2",
38
41
  "eslint-plugin-perfectionist": "4.0.3",
@@ -40,7 +43,7 @@
40
43
  "eslint-plugin-regexp": "2.7.0",
41
44
  "eslint-plugin-storybook": "0.11.1",
42
45
  "eslint-plugin-tailwindcss": "3.17.5",
43
- "eslint-plugin-testing-library": "6.4.0",
46
+ "eslint-plugin-testing-library": "6.5.0",
44
47
  "eslint-plugin-unicorn": "56.0.1",
45
48
  "eslint-plugin-vue": "9.31.0",
46
49
  "eslint-plugin-vuejs-accessibility": "2.4.1",