@dcdavidev/eslint-plugin 0.0.0-stage → 0.3.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.
Files changed (48) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +109 -2
  3. package/dist/configs/css.d.ts +12 -0
  4. package/dist/configs/css.d.ts.map +1 -0
  5. package/dist/configs/css.js +24 -0
  6. package/dist/configs/css.js.map +1 -0
  7. package/dist/configs/index.d.ts +14 -0
  8. package/dist/configs/index.d.ts.map +1 -0
  9. package/dist/configs/index.js +22 -0
  10. package/dist/configs/index.js.map +1 -0
  11. package/dist/configs/javascript.d.ts +12 -0
  12. package/dist/configs/javascript.d.ts.map +1 -0
  13. package/dist/configs/javascript.js +103 -0
  14. package/dist/configs/javascript.js.map +1 -0
  15. package/dist/configs/json.d.ts +14 -0
  16. package/dist/configs/json.d.ts.map +1 -0
  17. package/dist/configs/json.js +39 -0
  18. package/dist/configs/json.js.map +1 -0
  19. package/dist/configs/markdown.d.ts +12 -0
  20. package/dist/configs/markdown.d.ts.map +1 -0
  21. package/dist/configs/markdown.js +24 -0
  22. package/dist/configs/markdown.js.map +1 -0
  23. package/dist/configs/nextjs.d.ts +14 -0
  24. package/dist/configs/nextjs.d.ts.map +1 -0
  25. package/dist/configs/nextjs.js +69 -0
  26. package/dist/configs/nextjs.js.map +1 -0
  27. package/dist/configs/recommended.d.ts +14 -0
  28. package/dist/configs/recommended.d.ts.map +1 -0
  29. package/dist/configs/recommended.js +30 -0
  30. package/dist/configs/recommended.js.map +1 -0
  31. package/dist/configs/shell-bash.d.ts +12 -0
  32. package/dist/configs/shell-bash.d.ts.map +1 -0
  33. package/dist/configs/shell-bash.js +24 -0
  34. package/dist/configs/shell-bash.js.map +1 -0
  35. package/dist/index.d.ts +21 -0
  36. package/dist/index.d.ts.map +1 -0
  37. package/dist/index.js +30 -0
  38. package/dist/index.js.map +1 -0
  39. package/dist/lib/define-imports.d.ts +26 -0
  40. package/dist/lib/define-imports.d.ts.map +1 -0
  41. package/dist/lib/define-imports.js +76 -0
  42. package/dist/lib/define-imports.js.map +1 -0
  43. package/dist/lib/index.d.ts +5 -0
  44. package/dist/lib/index.d.ts.map +1 -0
  45. package/dist/lib/index.js +5 -0
  46. package/dist/lib/index.js.map +1 -0
  47. package/dist/tsconfig.tsbuildinfo +1 -0
  48. package/package.json +94 -3
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Davide Di Criscito
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,110 @@
1
- # Temporary Holding Version
1
+ # @dcdavidev/eslint-plugin
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ <!-- cspell:ignore dbaeumer -->
4
+
5
+ A shareable ESLint plugin that ships opinionated flat configurations for JavaScript, TypeScript, JSON, Markdown, CSS, shell scripts and Next.js.
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ pnpm add -D @dcdavidev/eslint-plugin eslint typescript
11
+ ```
12
+
13
+ Peer dependencies: `eslint` 10 and `typescript` (`>=4.8.4 <6.1.0`). To write the configuration in TypeScript (`eslint.config.ts`), also install `jiti`.
14
+
15
+ ## Usage
16
+
17
+ Create `eslint.config.ts` (or `eslint.config.mjs`) in the project root:
18
+
19
+ ```ts
20
+ import { defineConfig } from 'eslint/config';
21
+ import dcdavidev from '@dcdavidev/eslint-plugin';
22
+
23
+ export default defineConfig([dcdavidev.configs.recommended]);
24
+ ```
25
+
26
+ For a Next.js application, use `nextjs` instead of `recommended`:
27
+
28
+ ```ts
29
+ import { defineConfig } from 'eslint/config';
30
+ import dcdavidev from '@dcdavidev/eslint-plugin';
31
+
32
+ export default defineConfig([dcdavidev.configs.nextjs]);
33
+ ```
34
+
35
+ Each configuration can also be imported on its own:
36
+
37
+ ```ts
38
+ import recommended from '@dcdavidev/eslint-plugin/configs/recommended';
39
+ import nextjs from '@dcdavidev/eslint-plugin/configs/nextjs';
40
+ ```
41
+
42
+ ## VS Code
43
+
44
+ Install the [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) extension (`dbaeumer.vscode-eslint`). To recommend it to everyone who opens the project, add it to `.vscode/extensions.json`:
45
+
46
+ ```json
47
+ {
48
+ "recommendations": ["dbaeumer.vscode-eslint"]
49
+ }
50
+ ```
51
+
52
+ Then add these settings to `.vscode/settings.json`:
53
+
54
+ <!-- prettier-ignore -->
55
+ ```jsonc
56
+ {
57
+ // ESLint
58
+ "editor.codeActionsOnSave": {
59
+ "source.fixAll.eslint": "explicit"
60
+ },
61
+ "eslint.validate": [
62
+ "javascript",
63
+ "javascriptreact",
64
+ "typescript",
65
+ "typescriptreact",
66
+ "json",
67
+ "jsonc",
68
+ "markdown",
69
+ "css",
70
+ "shellscript"
71
+ ],
72
+ "eslint.workingDirectories": [{ "mode": "auto" }]
73
+ }
74
+ ```
75
+
76
+ - `source.fixAll.eslint` applies the automatic fixes when you save a file with a key or command. `explicit` leaves auto-save alone.
77
+ - `eslint.validate` turns on ESLint for JSON, Markdown, CSS and shell files too, because the configurations lint them. By default the extension checks only JavaScript and TypeScript.
78
+ - `eslint.workingDirectories` with `auto` finds the right `eslint.config.*` for each package in a monorepo.
79
+
80
+ ## Configurations
81
+
82
+ | Name | Files | Description |
83
+ | ------------- | ------------------------------ | --------------------------------------------------------------------------------------------- |
84
+ | `recommended` | All supported files | Combines the JavaScript/TypeScript, JSON, Markdown, CSS and shell configs, then Prettier. |
85
+ | `nextjs` | All supported files | Everything in `recommended`, plus React, React Hooks and Next.js Core Web Vitals rules. |
86
+ | `json` | `*.json`, `*.jsonc`, `*.json5` | `@eslint/json` rules. `tsconfig*.json` and `.vscode/*.json` are parsed as JSON with comments. |
87
+ | `markdown` | `*.md` | `@eslint/markdown` rules. |
88
+ | `css` | `*.css` | `@eslint/css` rules. |
89
+ | `shell-bash` | `*.sh`, `*.bash` | `@eslint/shell` rules. |
90
+
91
+ Use either `recommended` or `nextjs`, not both: `nextjs` already includes everything in `recommended`.
92
+
93
+ ### What `recommended` enforces
94
+
95
+ - **JavaScript and TypeScript:** `@eslint/js`, `typescript-eslint` and `eslint-plugin-unicorn` recommended rules. Unused variables and arguments are allowed when they start with `_`.
96
+ - **Imports:** sorted and grouped with `eslint-plugin-simple-import-sort`, using the import groups from [`@dcdavidev/shared-spells`](https://github.com/dcdavidev/spellbook/tree/main/packages/shared-spells): built-in modules, frameworks, third-party packages, monorepo packages, then assets, styles and relative imports.
97
+ - **JSDoc:** `eslint-plugin-jsdoc` TypeScript-flavored rules. Functions, methods and classes must have a JSDoc comment with a description (reported as warnings).
98
+ - **File names:** kebab-case (`__tests__` is allowed). The `nextjs` config also allows dynamic route segments such as `[slug].ts`.
99
+ - **Dependencies:** `eslint-plugin-node-dependencies` checks the `package.json` dependencies against the supported Node.js versions.
100
+ - **Formatting:** `eslint-plugin-prettier` runs Prettier as a rule and turns off the rules that conflict with it. It is applied last.
101
+ - **Ignores:** build outputs, caches, lock files and tool folders from the shared ignore list are skipped.
102
+
103
+ ## License
104
+
105
+ This project is open-source software licensed under the [MIT License](https://github.com/dcdavidev/spellbook/blob/main/LICENSE).
106
+
107
+ - **Author & Creator**: [Davide Di Criscito](https://github.com/dcdavidev)
108
+ - **Copyright**: © 2026 Davide Di Criscito and contributors.
109
+
110
+ For full license details and permissions, see the [LICENSE](https://github.com/dcdavidev/spellbook/blob/main/LICENSE) file.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @file ESLint flat configuration for CSS files using `@eslint/css`.
3
+ */
4
+ import type { Linter } from 'eslint';
5
+ /**
6
+ * CSS flat ESLint configuration.
7
+ * Lints `.css` files with the `@eslint/css` recommended rules and formats
8
+ * them through Prettier.
9
+ */
10
+ export declare const css: Linter.Config[];
11
+ export default css;
12
+ //# sourceMappingURL=css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css.d.ts","sources":["../../src/configs/css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMrC;;;;GAIG;AACH,eAAO,MAAM,GAAG,EAAE,MAAM,CAAC,MAAM,EAW7B,CAAC;AAEH,eAAe,GAAG,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @file ESLint flat configuration for CSS files using `@eslint/css`.
3
+ */
4
+ import { defineConfig, globalIgnores } from 'eslint/config';
5
+ import prettierRecommended from 'eslint-plugin-prettier/recommended';
6
+ import { ignores } from '@dcdavidev/shared-spells';
7
+ import cssPlugin from '@eslint/css';
8
+ /**
9
+ * CSS flat ESLint configuration.
10
+ * Lints `.css` files with the `@eslint/css` recommended rules and formats
11
+ * them through Prettier.
12
+ */
13
+ export const css = defineConfig([
14
+ globalIgnores([...ignores.all]),
15
+ {
16
+ files: ['**/*.css'],
17
+ plugins: { css: cssPlugin },
18
+ language: 'css/css',
19
+ extends: ['css/recommended'],
20
+ },
21
+ prettierRecommended,
22
+ ]);
23
+ export default css;
24
+ //# sourceMappingURL=css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css.js","sources":["../../src/configs/css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC;;;;GAIG;AACH,MAAM,CAAC,MAAM,GAAG,GAAoB,YAAY,CAAC;IAC/C,aAAa,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAE/B;QACE,KAAK,EAAE,CAAC,UAAU,CAAC;QACnB,OAAO,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE;QAC3B,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE,CAAC,iBAAiB,CAAC;KAC7B;IAED,mBAAmB;CACpB,CAAC,CAAC;AAEH,eAAe,GAAG,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @file Registry of the flat configurations exposed by the plugin.
3
+ */
4
+ import type { Linter } from 'eslint';
5
+ /**
6
+ * Names of the flat configurations exposed by the plugin.
7
+ */
8
+ export type ESLintConfig = 'recommended' | 'nextjs' | 'css' | 'json' | 'markdown' | 'shell-bash';
9
+ /**
10
+ * Dictionary mapping all supported configuration names to their respective flat configurations.
11
+ */
12
+ export declare const configs: Record<ESLintConfig, Linter.Config[]>;
13
+ export { recommended as configRecommended } from './recommended.js';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sources":["../../src/configs/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AASrC;;GAEG;AACH,MAAM,MAAM,YAAY,GACtB,aAAa,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,YAAY,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,CAQzD,CAAC;AAEF,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @file Registry of the flat configurations exposed by the plugin.
3
+ */
4
+ import css from './css.js';
5
+ import json from './json.js';
6
+ import markdown from './markdown.js';
7
+ import nextjs from './nextjs.js';
8
+ import { recommended } from './recommended.js';
9
+ import shellBash from './shell-bash.js';
10
+ /**
11
+ * Dictionary mapping all supported configuration names to their respective flat configurations.
12
+ */
13
+ export const configs = {
14
+ recommended: recommended,
15
+ nextjs: nextjs,
16
+ css: css,
17
+ json: json,
18
+ markdown: markdown,
19
+ 'shell-bash': shellBash,
20
+ };
21
+ export { recommended as configRecommended } from './recommended.js';
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../src/configs/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,GAAG,MAAM,UAAU,CAAC;AAC3B,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,SAAS,MAAM,iBAAiB,CAAC;AAQxC;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAA0C;IAC5D,WAAW,EAAE,WAAW;IACxB,MAAM,EAAE,MAAM;IAEd,GAAG,EAAE,GAAG;IACR,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE,QAAQ;IAClB,YAAY,EAAE,SAAS;CACxB,CAAC;AAEF,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @file Comprehensive ESLint flat configuration for JavaScript, TypeScript, and
3
+ * Node.js.
4
+ */
5
+ import type { Linter } from 'eslint';
6
+ /**
7
+ * Core flat ESLint configuration for JavaScript and TypeScript codebases.
8
+ * Includes unicorn, typescript-eslint, jsdoc, simple-import-sort, and node dependencies rules.
9
+ */
10
+ export declare const configJavascript: Linter.Config[];
11
+ export default configJavascript;
12
+ //# sourceMappingURL=javascript.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"javascript.d.ts","sources":["../../src/configs/javascript.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAcrC;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EA4G1C,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,103 @@
1
+ /**
2
+ * @file Comprehensive ESLint flat configuration for JavaScript, TypeScript, and
3
+ * Node.js.
4
+ */
5
+ import { defineConfig } from 'eslint/config';
6
+ import jsdoc from 'eslint-plugin-jsdoc';
7
+ import nodeDependencies from 'eslint-plugin-node-dependencies';
8
+ import prettierPlugin from 'eslint-plugin-prettier';
9
+ import simpleImportSort from 'eslint-plugin-simple-import-sort';
10
+ import unicorn from 'eslint-plugin-unicorn';
11
+ import globals from 'globals';
12
+ import tseslint from 'typescript-eslint';
13
+ import { imports } from '@dcdavidev/shared-spells/imports';
14
+ import js from '@eslint/js';
15
+ import { defineImports } from '../lib/define-imports.js';
16
+ /**
17
+ * Core flat ESLint configuration for JavaScript and TypeScript codebases.
18
+ * Includes unicorn, typescript-eslint, jsdoc, simple-import-sort, and node dependencies rules.
19
+ */
20
+ export const configJavascript = defineConfig([
21
+ // --- Common for JS/TS/JSX/TSX ---
22
+ {
23
+ files: ['**/*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}'],
24
+ plugins: {
25
+ jsdoc,
26
+ prettier: prettierPlugin,
27
+ 'simple-import-sort': simpleImportSort,
28
+ },
29
+ extends: [
30
+ js.configs.recommended,
31
+ ...tseslint.configs.recommended,
32
+ unicorn.configs.recommended,
33
+ ],
34
+ rules: {
35
+ 'prettier/prettier': 'error',
36
+ 'no-unused-vars': 'off',
37
+ '@typescript-eslint/no-unused-vars': [
38
+ 'error',
39
+ { argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
40
+ ],
41
+ // Enforce structured and grouped imports using simple-import-sort
42
+ 'sort-imports': 'off',
43
+ 'simple-import-sort/exports': 'error',
44
+ 'simple-import-sort/imports': [
45
+ 'error',
46
+ {
47
+ groups: defineImports(imports.dotenv, imports.sideEffects, imports.env, imports.builtinModules, imports.backendFrameworks, imports.backendMiddlewares, imports.uiFrameworks, imports.reactPackages, imports.fullstackFrameworks, imports.reactNativeExpo, imports.stateManagement, imports.dataFetching, imports.uiLibraries, imports.cssInJs, imports.icons, imports.testing, imports.thirdParty, imports.monorepo, imports.assets, imports.json, imports.styles, imports.relative),
48
+ },
49
+ ],
50
+ 'unicorn/no-null': 'off',
51
+ 'unicorn/prevent-abbreviations': 'off',
52
+ 'unicorn/name-replacements': 'off',
53
+ 'unicorn/no-top-level-side-effects': 'off',
54
+ 'unicorn/no-asterisk-prefix-in-documentation-comments': 'off',
55
+ 'no-process-exit': 'off',
56
+ 'unicorn/no-process-exit': 'off',
57
+ },
58
+ },
59
+ // --- Node.js Specifics (TS/JS files) ---
60
+ {
61
+ files: ['**/*.{ts,js,mts,mjs,cts,cjs}'],
62
+ ignores: ['**/*.{tsx,jsx}'],
63
+ extends: [
64
+ nodeDependencies.configs['flat/recommended'],
65
+ jsdoc.configs['flat/contents-typescript-flavor'],
66
+ jsdoc.configs['flat/logical-typescript-flavor'],
67
+ ],
68
+ languageOptions: {
69
+ globals: { ...globals.node },
70
+ },
71
+ rules: {
72
+ 'unicorn/filename-case': [
73
+ 'error',
74
+ {
75
+ case: 'kebabCase',
76
+ ignore: ['__tests__'],
77
+ },
78
+ ],
79
+ 'jsdoc/require-jsdoc': [
80
+ 'warn',
81
+ {
82
+ require: {
83
+ FunctionDeclaration: true,
84
+ MethodDefinition: true,
85
+ ClassDeclaration: true,
86
+ },
87
+ },
88
+ ],
89
+ 'jsdoc/require-description': 'warn',
90
+ },
91
+ },
92
+ // --- CommonJS Overrides ---
93
+ {
94
+ files: ['**/*.{cjs,cts}'],
95
+ languageOptions: { globals: { ...globals.commonjs } },
96
+ rules: {
97
+ '@typescript-eslint/no-require-imports': 'off',
98
+ 'unicorn/prefer-module': 'off',
99
+ },
100
+ },
101
+ ]);
102
+ export default configJavascript;
103
+ //# sourceMappingURL=javascript.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"javascript.js","sources":["../../src/configs/javascript.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @file ESLint flat configuration for JSON, JSONC and JSON5 files using
3
+ * `@eslint/json`.
4
+ */
5
+ import type { Linter } from 'eslint';
6
+ /**
7
+ * JSON flat ESLint configuration.
8
+ * Applies the `@eslint/json` recommended rules with the right language per
9
+ * file: `json/json` for `*.json`, `json/jsonc` for `*.jsonc`, `tsconfig*.json`
10
+ * and `.vscode/*.json` (which allow comments), and `json/json5` for `*.json5`.
11
+ */
12
+ export declare const json: Linter.Config[];
13
+ export default json;
14
+ //# sourceMappingURL=json.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.d.ts","sources":["../../src/configs/json.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMrC;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAwB9B,CAAC;AAEH,eAAe,IAAI,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @file ESLint flat configuration for JSON, JSONC and JSON5 files using
3
+ * `@eslint/json`.
4
+ */
5
+ import { defineConfig, globalIgnores } from 'eslint/config';
6
+ import prettierRecommended from 'eslint-plugin-prettier/recommended';
7
+ import { ignores } from '@dcdavidev/shared-spells';
8
+ import jsonPlugin from '@eslint/json';
9
+ /**
10
+ * JSON flat ESLint configuration.
11
+ * Applies the `@eslint/json` recommended rules with the right language per
12
+ * file: `json/json` for `*.json`, `json/jsonc` for `*.jsonc`, `tsconfig*.json`
13
+ * and `.vscode/*.json` (which allow comments), and `json/json5` for `*.json5`.
14
+ */
15
+ export const json = defineConfig([
16
+ globalIgnores([...ignores.all]),
17
+ {
18
+ files: ['**/*.json'],
19
+ ignores: ['**/tsconfig*.json', '**/.vscode/*.json'],
20
+ plugins: { json: jsonPlugin },
21
+ language: 'json/json',
22
+ extends: ['json/recommended'],
23
+ },
24
+ {
25
+ files: ['**/*.jsonc', '**/tsconfig*.json', '**/.vscode/*.json'],
26
+ plugins: { json: jsonPlugin },
27
+ language: 'json/jsonc',
28
+ extends: ['json/recommended'],
29
+ },
30
+ {
31
+ files: ['**/*.json5'],
32
+ plugins: { json: jsonPlugin },
33
+ language: 'json/json5',
34
+ extends: ['json/recommended'],
35
+ },
36
+ prettierRecommended,
37
+ ]);
38
+ export default json;
39
+ //# sourceMappingURL=json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.js","sources":["../../src/configs/json.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAoB,YAAY,CAAC;IAChD,aAAa,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAE/B;QACE,KAAK,EAAE,CAAC,WAAW,CAAC;QACpB,OAAO,EAAE,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;QACnD,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;QAC7B,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAC9B;IACD;QACE,KAAK,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,CAAC;QAC/D,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;QAC7B,QAAQ,EAAE,YAAY;QACtB,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAC9B;IACD;QACE,KAAK,EAAE,CAAC,YAAY,CAAC;QACrB,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;QAC7B,QAAQ,EAAE,YAAY;QACtB,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAC9B;IAED,mBAAmB;CACpB,CAAC,CAAC;AAEH,eAAe,IAAI,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @file ESLint flat configuration for Markdown files using `@eslint/markdown`.
3
+ */
4
+ import type { Linter } from 'eslint';
5
+ /**
6
+ * Markdown flat ESLint configuration.
7
+ * Lints `.md` files as GitHub Flavored Markdown with the
8
+ * `@eslint/markdown` recommended rules and formats them through Prettier.
9
+ */
10
+ export declare const markdown: Linter.Config[];
11
+ export default markdown;
12
+ //# sourceMappingURL=markdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown.d.ts","sources":["../../src/configs/markdown.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMrC;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAWlC,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @file ESLint flat configuration for Markdown files using `@eslint/markdown`.
3
+ */
4
+ import { defineConfig, globalIgnores } from 'eslint/config';
5
+ import prettierRecommended from 'eslint-plugin-prettier/recommended';
6
+ import { ignores } from '@dcdavidev/shared-spells';
7
+ import markdownPlugin from '@eslint/markdown';
8
+ /**
9
+ * Markdown flat ESLint configuration.
10
+ * Lints `.md` files as GitHub Flavored Markdown with the
11
+ * `@eslint/markdown` recommended rules and formats them through Prettier.
12
+ */
13
+ export const markdown = defineConfig([
14
+ globalIgnores([...ignores.all]),
15
+ {
16
+ files: ['**/*.md'],
17
+ plugins: { markdown: markdownPlugin },
18
+ language: 'markdown/gfm',
19
+ extends: ['markdown/recommended'],
20
+ },
21
+ prettierRecommended,
22
+ ]);
23
+ export default markdown;
24
+ //# sourceMappingURL=markdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown.js","sources":["../../src/configs/markdown.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C;;;;GAIG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAoB,YAAY,CAAC;IACpD,aAAa,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAE/B;QACE,KAAK,EAAE,CAAC,SAAS,CAAC;QAClB,OAAO,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE;QACrC,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,CAAC,sBAAsB,CAAC;KAClC;IAED,mBAAmB;CACpB,CAAC,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @file ESLint flat configuration for Next.js applications (React, React Hooks
3
+ * and Next.js Core Web Vitals rules).
4
+ */
5
+ import type { Linter } from 'eslint';
6
+ /**
7
+ * Next.js flat ESLint configuration.
8
+ * Combines the same configs as `recommended` (JavaScript/TypeScript, JSON,
9
+ * Markdown, CSS, Shell) with `@eslint-react` (React and Hooks rules) and
10
+ * `@next/next` Core Web Vitals rules. Use it instead of `recommended`.
11
+ */
12
+ export declare const nextjs: Linter.Config[];
13
+ export default nextjs;
14
+ //# sourceMappingURL=nextjs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nextjs.d.ts","sources":["../../src/configs/nextjs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAcrC;;;;;GAKG;AACH,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAiDhC,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * @file ESLint flat configuration for Next.js applications (React, React Hooks
3
+ * and Next.js Core Web Vitals rules).
4
+ */
5
+ import { defineConfig, globalIgnores } from 'eslint/config';
6
+ import prettierRecommended from 'eslint-plugin-prettier/recommended';
7
+ import globals from 'globals';
8
+ import { ignores } from '@dcdavidev/shared-spells';
9
+ import eslintReact from '@eslint-react/eslint-plugin';
10
+ import nextPlugin from '@next/eslint-plugin-next';
11
+ import css from './css.js';
12
+ import js from './javascript.js';
13
+ import json from './json.js';
14
+ import markdown from './markdown.js';
15
+ import shellBash from './shell-bash.js';
16
+ /**
17
+ * Next.js flat ESLint configuration.
18
+ * Combines the same configs as `recommended` (JavaScript/TypeScript, JSON,
19
+ * Markdown, CSS, Shell) with `@eslint-react` (React and Hooks rules) and
20
+ * `@next/next` Core Web Vitals rules. Use it instead of `recommended`.
21
+ */
22
+ export const nextjs = defineConfig([
23
+ globalIgnores([...ignores.all]),
24
+ js,
25
+ json,
26
+ markdown,
27
+ css,
28
+ shellBash,
29
+ // --- React & Next.js (JS/TS/JSX/TSX) ---
30
+ {
31
+ files: ['**/*.{js,jsx,mjs,ts,tsx,mts}'],
32
+ extends: [nextPlugin.configs['core-web-vitals']],
33
+ languageOptions: {
34
+ globals: { ...globals.browser, ...globals.node },
35
+ },
36
+ },
37
+ {
38
+ files: ['**/*.{js,jsx,mjs}'],
39
+ extends: [eslintReact.configs.recommended],
40
+ },
41
+ {
42
+ files: ['**/*.{ts,tsx,mts}'],
43
+ extends: [eslintReact.configs['recommended-typescript']],
44
+ },
45
+ // --- Next.js file conventions ---
46
+ {
47
+ files: ['**/*.{ts,js,mts,mjs}'],
48
+ rules: {
49
+ // Dynamic route segments such as `[slug].ts` or `[...params].ts`.
50
+ 'unicorn/filename-case': [
51
+ 'error',
52
+ {
53
+ case: 'kebabCase',
54
+ ignore: ['__tests__', String.raw `^\[.+\]\.`],
55
+ },
56
+ ],
57
+ },
58
+ },
59
+ {
60
+ files: ['**/next-env.d.ts'],
61
+ rules: {
62
+ '@typescript-eslint/triple-slash-reference': 'off',
63
+ },
64
+ },
65
+ // must come last
66
+ prettierRecommended,
67
+ ]);
68
+ export default nextjs;
69
+ //# sourceMappingURL=nextjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nextjs.js","sources":["../../src/configs/nextjs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,WAAW,MAAM,6BAA6B,CAAC;AACtD,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAElD,OAAO,GAAG,MAAM,UAAU,CAAC;AAC3B,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACjC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,SAAS,MAAM,iBAAiB,CAAC;AAExC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,MAAM,GAAoB,YAAY,CAAC;IAClD,aAAa,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAE/B,EAAE;IACF,IAAI;IACJ,QAAQ;IACR,GAAG;IACH,SAAS;IAET,0CAA0C;IAC1C;QACE,KAAK,EAAE,CAAC,8BAA8B,CAAC;QACvC,OAAO,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAChD,eAAe,EAAE;YACf,OAAO,EAAE,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,GAAG,OAAO,CAAC,IAAI,EAAE;SACjD;KACF;IACD;QACE,KAAK,EAAE,CAAC,mBAAmB,CAAC;QAC5B,OAAO,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,WAAW,CAAC;KAC3C;IACD;QACE,KAAK,EAAE,CAAC,mBAAmB,CAAC;QAC5B,OAAO,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC;KACzD;IAED,mCAAmC;IACnC;QACE,KAAK,EAAE,CAAC,sBAAsB,CAAC;QAC/B,KAAK,EAAE;YACL,kEAAkE;YAClE,uBAAuB,EAAE;gBACvB,OAAO;gBACP;oBACE,IAAI,EAAE,WAAW;oBACjB,MAAM,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG,CAAA,WAAW,CAAC;iBAC7C;aACF;SACF;KACF;IACD;QACE,KAAK,EAAE,CAAC,kBAAkB,CAAC;QAC3B,KAAK,EAAE;YACL,2CAA2C,EAAE,KAAK;SACnD;KACF;IAED,iBAAiB;IACjB,mBAAmB;CACpB,CAAC,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @file Recommended ESLint flat configuration combining every language config
3
+ * shipped by the plugin.
4
+ */
5
+ import type { Linter } from 'eslint';
6
+ /**
7
+ * Recommended flat ESLint configuration.
8
+ * Combines the JavaScript/TypeScript, JSON, Markdown, CSS and Shell configs,
9
+ * ignores the shared spellbook paths and applies Prettier last. For Next.js
10
+ * projects use `nextjs` instead.
11
+ */
12
+ export declare const recommended: Linter.Config[];
13
+ export default recommended;
14
+ //# sourceMappingURL=recommended.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommended.d.ts","sources":["../../src/configs/recommended.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAWrC;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAWrC,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @file Recommended ESLint flat configuration combining every language config
3
+ * shipped by the plugin.
4
+ */
5
+ import { defineConfig, globalIgnores } from 'eslint/config';
6
+ import prettierRecommended from 'eslint-plugin-prettier/recommended';
7
+ import { ignores } from '@dcdavidev/shared-spells';
8
+ import css from './css.js';
9
+ import js from './javascript.js';
10
+ import json from './json.js';
11
+ import markdown from './markdown.js';
12
+ import shellBash from './shell-bash.js';
13
+ /**
14
+ * Recommended flat ESLint configuration.
15
+ * Combines the JavaScript/TypeScript, JSON, Markdown, CSS and Shell configs,
16
+ * ignores the shared spellbook paths and applies Prettier last. For Next.js
17
+ * projects use `nextjs` instead.
18
+ */
19
+ export const recommended = defineConfig([
20
+ globalIgnores([...ignores.all]),
21
+ js,
22
+ json,
23
+ markdown,
24
+ css,
25
+ shellBash,
26
+ // must come last
27
+ prettierRecommended,
28
+ ]);
29
+ export default recommended;
30
+ //# sourceMappingURL=recommended.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommended.js","sources":["../../src/configs/recommended.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,GAAG,MAAM,UAAU,CAAC;AAC3B,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACjC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,SAAS,MAAM,iBAAiB,CAAC;AAExC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAoB,YAAY,CAAC;IACvD,aAAa,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAE/B,EAAE;IACF,IAAI;IACJ,QAAQ;IACR,GAAG;IACH,SAAS;IAET,iBAAiB;IACjB,mBAAmB;CACpB,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @file ESLint flat configuration for shell scripts using `@eslint/shell`.
3
+ */
4
+ import type { Linter } from 'eslint';
5
+ /**
6
+ * Shell (Bash) flat ESLint configuration.
7
+ * Lints `.sh` and `.bash` files with the `@eslint/shell` recommended
8
+ * rules and formats them through Prettier.
9
+ */
10
+ export declare const shellBash: Linter.Config[];
11
+ export default shellBash;
12
+ //# sourceMappingURL=shell-bash.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell-bash.d.ts","sources":["../../src/configs/shell-bash.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAC;AAM7C;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAWnC,CAAC;AAEH,eAAe,SAAS,CAAC"}