@d-kuehn/eslint-config 1.0.5 → 1.0.7

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 (2) hide show
  1. package/README.md +26 -26
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -43,39 +43,39 @@ export default combine(
43
43
 
44
44
  ### Core Configurations
45
45
 
46
- | Configuration | Purpose | Targeted Files |
47
- | ----------------------------------------------------------------------- | ------------------------------------------- | --------------------------------------- |
48
- | [defaults()](https://github.com/eslint/eslint) | Base ESLint rules for JS/TS projects | All JavaScript/TypeScript files, `.vue` |
49
- | [typescript()](https://github.com/typescript-eslint/typescript-eslint)] | TypeScript-specific rules and type checking | `.ts`, `.tsx`, `.mts`, `.cts`, `.vue` |
50
- | [stylistic()](https://github.com/eslint-stylistic/eslint-stylistic) | Code style and formatting rules | All JavaScript/TypeScript files, `.vue` |
46
+ | Configuration | Purpose | Targeted Files |
47
+ | ------------------------------------------------------------------------------------------------ | ------------------------------------------- | --------------------------------------- |
48
+ | [defaults() v9.15.0](https://github.com/eslint/eslint) | Base ESLint rules for JS/TS projects | All JavaScript/TypeScript files, `.vue` |
49
+ | [typescript() v8.15.0](https://github.com/typescript-eslint/typescript-eslint) | TypeScript-specific rules and type checking | `.ts`, `.tsx`, `.mts`, `.cts`, `.vue` |
50
+ | [stylistic() v2.11.0](https://github.com/eslint-stylistic/eslint-stylistic) | Code style and formatting rules | All JavaScript/TypeScript files, `.vue` |
51
51
 
52
52
  ### Feature-specific Configurations
53
53
 
54
- | Configuration | Purpose | Targeted Files |
55
- | ------------------------------------------------------------------------- | ------------------------------ | --------------------------------------- |
56
- | [importX()](https://github.com/un-ts/eslint-plugin-import-x) | ES6+ import/export syntax | All JavaScript/TypeScript files, `.vue` |
57
- | [jsdoc()](https://github.com/gajus/eslint-plugin-jsdoc) | JSDoc comments validation | All JavaScript/TypeScript files |
58
- | [jsonc()](https://github.com/ota-meshi/eslint-plugin-jsonc) | JSON validation and formatting | `.json`, `.jsonc`, `.json5` |
59
- | [regexp()](https://github.com/ota-meshi/eslint-plugin-regexp) | Regular expressions validation | All JavaScript/TypeScript files, `.vue` |
60
- | [unicorn()](https://github.com/sindresorhus/eslint-plugin-unicorn) | Additional JavaScript rules | All JavaScript/TypeScript files, `.vue` |
61
- | [perfectionist()](https://github.com/azat-io/eslint-plugin-perfectionist) | Consistent code organization | All JavaScript/TypeScript files, `.vue` |
54
+ | Configuration | Purpose | Targeted Files |
55
+ | --------------------------------------------------------------------------------------------------------- | ------------------------------ | --------------------------------------- |
56
+ | [importX() v4.4.2](https://github.com/un-ts/eslint-plugin-import-x) | ES6+ import/export syntax | All JavaScript/TypeScript files, `.vue` |
57
+ | [jsdoc() v50.5.0](https://github.com/gajus/eslint-plugin-jsdoc) | JSDoc comments validation | All JavaScript/TypeScript files |
58
+ | [jsonc() v2.18.2](https://github.com/ota-meshi/eslint-plugin-jsonc) | JSON validation and formatting | `.json`, `.jsonc`, `.json5` |
59
+ | [regexp() v2.7.0](https://github.com/ota-meshi/eslint-plugin-regexp) | Regular expressions validation | All JavaScript/TypeScript files, `.vue` |
60
+ | [unicorn() v56.0.1](https://github.com/sindresorhus/eslint-plugin-unicorn) | Additional JavaScript rules | All JavaScript/TypeScript files, `.vue` |
61
+ | [perfectionist() v4.0.2](https://github.com/azat-io/eslint-plugin-perfectionist) | Consistent code organization | All JavaScript/TypeScript files, `.vue` |
62
62
 
63
63
  ### Framework Support
64
64
 
65
- | Configuration | Purpose | Targeted Files |
66
- | ----------------------------------------------------------------------------------- | -------------------- | -------------------------------------- |
67
- | [vue()](https://github.com/vuejs/eslint-plugin-vue) | Vue.js rules | `.vue` |
68
- | [vueAccessibility()](https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility) | Vue.js accessibility | `.vue` |
69
- | [storybook()](https://github.com/storybookjs/eslint-plugin-storybook) | Storybook rules | `**/*.stories.{ts,tsx,js,jsx,mjs,cjs}` |
70
- | [tailwindCss()](https://github.com/francoismassart/eslint-plugin-tailwindcss) | Tailwind CSS usage | `.vue`, `.js`, `.ts`, `.jsx`, `.tsx` |
65
+ | Configuration | Purpose | Targeted Files |
66
+ | ------------------------------------------------------------------------------------------------------------------------- | -------------------- | -------------------------------------- |
67
+ | [vue() v9.31.0](https://github.com/vuejs/eslint-plugin-vue) | Vue.js rules | `.vue` |
68
+ | [vueAccessibility() v2.4.1](https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility) | Vue.js accessibility | `.vue` |
69
+ | [storybook() v0.11.1](https://github.com/storybookjs/eslint-plugin-storybook) | Storybook rules | `**/*.stories.{ts,tsx,js,jsx,mjs,cjs}` |
70
+ | [tailwindCss() v3.17.5](https://github.com/francoismassart/eslint-plugin-tailwindcss) | Tailwind CSS usage | `.vue`, `.js`, `.ts`, `.jsx`, `.tsx` |
71
71
 
72
72
  ### Testing Configurations
73
73
 
74
- | Configuration | Purpose | Targeted Files |
75
- |--------------------------------------------------------------------------------------| --------------------------- | --------------------------------------------------- |
76
- | [vitest()](https://github.com/vitest-dev/eslint-plugin-vitest) | Vitest test rules | `**/*.{spec,test,bench,benchmark}.?([cm])[jt]s?(x)` |
77
- | [playwright()](https://github.com/playwright-community/eslint-plugin-playwright) | Playwright E2E test rules | `tests/e2e/**`, `**/*.e2e.?([cm])[jt]s?(x)` |
78
- | [testingLibrary()](https://github.com/testing-library/eslint-plugin-testing-library) | Testing Library with Vue.js | `**/*.{spec,test,bench,benchmark}.?([cm])[jt]s?(x)` |
74
+ | Configuration | Purpose | Targeted Files |
75
+ | ---------------------------------------------------------------------------------------------------------------------- | --------------------------- | --------------------------------------------------- |
76
+ | [vitest() v1.1.10](https://github.com/vitest-dev/eslint-plugin-vitest) | Vitest test rules | `**/*.{spec,test,bench,benchmark}.?([cm])[jt]s?(x)` |
77
+ | [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)` |
79
79
 
80
80
  ## Configuration Options
81
81
 
@@ -102,8 +102,8 @@ The Typescript plugin further accept setting some
102
102
  interface Options {
103
103
  ignores?: string[];
104
104
  plugins?: Record<string, TSESLint.Linter.Plugin>;
105
- rules?: Record<string, TSESLint.FlatConfig.RuleEntry>;
106
- languageOptions?: Linter.LanguageOptions;
105
+ rules?: Record<string, TSESLint.SharedConfig.RuleEntry>;
106
+ languageOptions?: Linter.LanguageOptions; // typescript() only
107
107
  }
108
108
  ```
109
109
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-kuehn/eslint-config",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -9,7 +9,8 @@
9
9
  "lint:ts": "tsc --noEmit",
10
10
  "lint:all": "pnpm run lint:ts && pnpm run lint:js",
11
11
  "test": "node --experimental-strip-types ./__tests__/eslintConfigs.spec.ts",
12
- "build": "tsup --format esm --clean --dts"
12
+ "build": "tsup --format esm --clean --dts",
13
+ "update:readme": "node --experimental-strip-types ./bin/updateReadme.ts"
13
14
  },
14
15
  "keywords": [],
15
16
  "author": "d. kuehn <doc.kuehn@arcor.de>",
@@ -34,7 +35,7 @@
34
35
  "eslint-plugin-import-x": "4.4.2",
35
36
  "eslint-plugin-jsdoc": "50.5.0",
36
37
  "eslint-plugin-jsonc": "2.18.2",
37
- "eslint-plugin-perfectionist": "4.0.1",
38
+ "eslint-plugin-perfectionist": "4.0.2",
38
39
  "eslint-plugin-playwright": "2.1.0",
39
40
  "eslint-plugin-regexp": "2.7.0",
40
41
  "eslint-plugin-storybook": "0.11.1",