@dpuse/eslint-config-dpuse 1.0.153 → 1.1.101
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/README.md +1 -1
- package/dist/index.d.ts +20 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -47
- package/dist/index.js.map +1 -1
- package/package.json +2 -7
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ cd eslint-config-dpuse
|
|
|
45
45
|
npm install
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
_Requires [Node.js](https://nodejs.org/) 24 or later, [npm](https://www.npmjs.com/) 12 or later, and [TypeScript](https://www.typescriptlang.org/) 6.0.3
|
|
48
|
+
_Requires [Node.js](https://nodejs.org/) 24 or later, [npm](https://www.npmjs.com/) 12 or later, and [TypeScript](https://www.typescriptlang.org/) 6.0.3, TypeScript 7 is not supported as yet._
|
|
49
49
|
|
|
50
50
|
This repository is managed using the common set of actions provided by [@dpuse/dpuse-development](https://github.com/dpuse/dpuse-development). See the `scripts` block in [package.json](https://github.com/dpuse/eslint-config-dpuse/blob/main/package.json) for details.
|
|
51
51
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { Linter } from 'eslint';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Options accepted by the shared DPUse base ESLint configuration, common to every DPUse project regardless of
|
|
4
|
+
* framework.
|
|
5
|
+
*/
|
|
3
6
|
export interface DPUseBaseESLintConfigOptions {
|
|
4
7
|
/** Glob patterns for the files to lint. */
|
|
5
8
|
files: string[];
|
|
@@ -14,13 +17,26 @@ export interface DPUseESLintConfigOptions extends Omit<DPUseBaseESLintConfigOpti
|
|
|
14
17
|
files?: string[];
|
|
15
18
|
/** Module specifiers that `import-x` should treat as resolvable core modules (e.g. `cloudflare:workers`). */
|
|
16
19
|
importCoreModules?: string[];
|
|
17
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Path to the consuming project's `tsconfig.json`, used by the import resolver. Defaults to `./tsconfig.json`, used
|
|
22
|
+
* by every DPUse project.
|
|
23
|
+
*/
|
|
18
24
|
tsconfigPath?: string;
|
|
19
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* The consuming project's root directory. Defaults to `process.cwd()`, correct as long as ESLint is run from the
|
|
27
|
+
* project root.
|
|
28
|
+
*/
|
|
20
29
|
tsconfigRootDir?: string;
|
|
21
30
|
}
|
|
22
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* The rules, plugins, and ignores shared by every DPUse project, TypeScript or otherwise (e.g. dpuse-app's Vue
|
|
33
|
+
* setup).
|
|
34
|
+
*/
|
|
23
35
|
export declare function dpuseBaseESLintConfig(options: DPUseBaseESLintConfigOptions): Linter.Config[];
|
|
36
|
+
/**
|
|
37
|
+
* The full DPUse ESLint configuration for a TypeScript project: the base configuration plus type-aware TypeScript
|
|
38
|
+
* rules.
|
|
39
|
+
*/
|
|
24
40
|
export declare function dpuseESLintConfig(options: DPUseESLintConfigOptions): Linter.Config[];
|
|
25
41
|
export default dpuseESLintConfig;
|
|
26
42
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAarC;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IACzC,2CAA2C;IAC3C,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,4FAA4F;IAC5F,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,sGAAsG;IACtG,KAAK,CAAC,EAAE,MAAM,CAAC,WAAW,CAAC;CAC9B;AAED,oFAAoF;AACpF,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,4BAA4B,EAAE,OAAO,CAAC;IACzF,8FAA8F;IAC9F,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,6GAA6G;IAC7G,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAUD;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,4BAA4B,GAAG,MAAM,CAAC,MAAM,EAAE,CAwE5F;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,CAqCpF;AAED,eAAe,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
// ── External Dependencies & Registrations
|
|
2
2
|
import globals from 'globals';
|
|
3
|
-
import
|
|
3
|
+
import { recommended as pluginCommentsRecommended } from '@eslint-community/eslint-plugin-eslint-comments/configs';
|
|
4
4
|
import { flatConfigs as pluginImportFlatConfigs } from 'eslint-plugin-import-x';
|
|
5
5
|
import pluginJS from '@eslint/js';
|
|
6
|
-
import pluginJSDoc from 'eslint-plugin-jsdoc';
|
|
7
6
|
import pluginN from 'eslint-plugin-n';
|
|
8
7
|
import { configs as pluginRegexpConfigs } from 'eslint-plugin-regexp';
|
|
9
|
-
import pluginSecurity from 'eslint-plugin-security';
|
|
10
|
-
import pluginSonarJS from 'eslint-plugin-sonarjs';
|
|
11
8
|
import pluginUnicorn from 'eslint-plugin-unicorn';
|
|
12
9
|
import skipFormatting from 'eslint-config-prettier';
|
|
13
10
|
import tseslint from 'typescript-eslint';
|
|
@@ -16,48 +13,24 @@ import { defineConfig, globalIgnores } from 'eslint/config';
|
|
|
16
13
|
// Everything except code files, for 'ignores'. A block limited this way, rather than by 'files', keeps its rules off
|
|
17
14
|
// other languages without also telling ESLint to lint code files that the project's 'files' leave out.
|
|
18
15
|
const NON_CODE_FILES = ['**/*', '!**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx,vue}'];
|
|
19
|
-
const NON_TYPESCRIPT_FILES = ['**/*', '!**/*.{cts,mts,ts,tsx,vue}'];
|
|
20
16
|
// ── ESLint Configuration ─────────────────────────────────────────────────────────────────────────────────────────────
|
|
21
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* The rules, plugins, and ignores shared by every DPUse project, TypeScript or otherwise (e.g. dpuse-app's Vue
|
|
19
|
+
* setup).
|
|
20
|
+
*/
|
|
22
21
|
export function dpuseBaseESLintConfig(options) {
|
|
23
22
|
const { files, ignores = [], rules = {} } = options;
|
|
24
23
|
return defineConfig(
|
|
25
24
|
// Ignores.
|
|
26
25
|
globalIgnores(['bundle-analysis-reports/**', 'dependency-check-bin/**', 'dependency-check-reports/**', 'dist/**', 'licenses/**', ...ignores]),
|
|
27
|
-
// Plugin configurations and rule overrides. Limited to code files rather than 'files', so a script outside
|
|
28
|
-
// (e.g. a '.mjs' script) still gets the DPUse settings, while a file in another language (e.g. '.css')
|
|
29
|
-
// these JavaScript rules, which ESLint refuses to run on it.
|
|
26
|
+
// Plugin configurations and rule overrides. Limited to code files rather than 'files', so a script outside
|
|
27
|
+
// 'files' (e.g. a '.mjs' script) still gets the DPUse settings, while a file in another language (e.g. '.css')
|
|
28
|
+
// gets none of these JavaScript rules, which ESLint refuses to run on it.
|
|
30
29
|
{
|
|
31
30
|
ignores: NON_CODE_FILES,
|
|
32
31
|
extends: [
|
|
33
|
-
|
|
34
|
-
// '@eslint-community/eslint-comments' only ships a legacy config; manually convert to flat format.
|
|
35
|
-
plugins: { '@eslint-community/eslint-comments': pluginComments },
|
|
36
|
-
rules: {
|
|
37
|
-
'@eslint-community/eslint-comments/disable-enable-pair': 'error',
|
|
38
|
-
'@eslint-community/eslint-comments/no-aggregating-enable': 'error',
|
|
39
|
-
'@eslint-community/eslint-comments/no-duplicate-disable': 'error',
|
|
40
|
-
'@eslint-community/eslint-comments/no-unlimited-disable': 'error',
|
|
41
|
-
'@eslint-community/eslint-comments/no-unused-enable': 'error'
|
|
42
|
-
}
|
|
43
|
-
},
|
|
32
|
+
pluginCommentsRecommended,
|
|
44
33
|
pluginImportFlatConfigs.recommended,
|
|
45
|
-
// Checks doc comments agree with the code they describe, without requiring one on every function. The
|
|
46
|
-
// TypeScript flavour forbids types in doc comments, which plain JavaScript files rely on, so it stops at
|
|
47
|
-
// TypeScript.
|
|
48
|
-
{
|
|
49
|
-
...pluginJSDoc.configs['flat/logical-typescript'],
|
|
50
|
-
ignores: NON_TYPESCRIPT_FILES,
|
|
51
|
-
rules: {
|
|
52
|
-
...pluginJSDoc.configs['flat/logical-typescript'].rules,
|
|
53
|
-
// Setting 'ignore' replaces the defaults, so they are listed again. 'vite-ignore' is added because
|
|
54
|
-
// '/* @vite-ignore */' is an instruction to Vite, not a doc comment missing its second asterisk.
|
|
55
|
-
'jsdoc/no-bad-blocks': [
|
|
56
|
-
'warn',
|
|
57
|
-
{ ignore: ['ts-check', 'ts-expect-error', 'ts-ignore', 'ts-nocheck', 'license', 'license-end', 'licstart', 'licend', 'source', 'vite-ignore'] }
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
34
|
{
|
|
62
35
|
plugins: { n: pluginN },
|
|
63
36
|
rules: {
|
|
@@ -66,8 +39,6 @@ export function dpuseBaseESLintConfig(options) {
|
|
|
66
39
|
}
|
|
67
40
|
},
|
|
68
41
|
pluginRegexpConfigs['flat/recommended'],
|
|
69
|
-
pluginSecurity.configs.recommended,
|
|
70
|
-
pluginSonarJS.configs.recommended,
|
|
71
42
|
pluginUnicorn.configs.recommended,
|
|
72
43
|
skipFormatting
|
|
73
44
|
],
|
|
@@ -75,22 +46,19 @@ export function dpuseBaseESLintConfig(options) {
|
|
|
75
46
|
'sort-imports': ['warn', { allowSeparatedGroups: true, ignoreCase: true, memberSyntaxSortOrder: ['none', 'all', 'single', 'multiple'] }],
|
|
76
47
|
'@eslint-community/eslint-comments/require-description': 'warn',
|
|
77
48
|
'import-x/no-duplicates': 'off', // A long import list is split into several one-line imports from the same module, rather than wrapped.
|
|
78
|
-
'security/detect-object-injection': 'off', // Generates too many false positives.
|
|
79
|
-
'sonarjs/no-commented-code': 'warn',
|
|
80
|
-
'sonarjs/no-dead-store': 'warn',
|
|
81
|
-
'sonarjs/no-unused-vars': 'off', // Duplicates '@typescript-eslint/no-unused-vars', but ignores no naming convention.
|
|
82
|
-
'sonarjs/todo-tag': 'warn',
|
|
83
49
|
'unicorn/consistent-boolean-name': [
|
|
84
50
|
'error',
|
|
85
51
|
{
|
|
86
|
-
// DPUse convention: a boolean may lead with its subject, then the verb (viewportIsWide,
|
|
52
|
+
// DPUse convention: a boolean may lead with its subject, then the verb (viewportIsWide,
|
|
53
|
+
// viewportNeedsTopEdgeLine).
|
|
87
54
|
ignore: ['^[a-z]+(Is|Are|Has|Have|Can|Should|Was|Were|Did|Will|Requires|Needs)[A-Z]']
|
|
88
55
|
}
|
|
89
56
|
],
|
|
90
57
|
'unicorn/consistent-class-member-order': [
|
|
91
58
|
'error',
|
|
92
59
|
{
|
|
93
|
-
// DPUse convention: private helpers are positioned after the public methods that use them, not
|
|
60
|
+
// DPUse convention: private helpers are positioned after the public methods that use them, not
|
|
61
|
+
// before.
|
|
94
62
|
order: ['static-field', 'static-block', 'static-method', 'private-field', 'public-field', 'constructor', 'public-method', 'private-method']
|
|
95
63
|
}
|
|
96
64
|
],
|
|
@@ -114,10 +82,15 @@ export function dpuseBaseESLintConfig(options) {
|
|
|
114
82
|
}
|
|
115
83
|
});
|
|
116
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* The full DPUse ESLint configuration for a TypeScript project: the base configuration plus type-aware TypeScript
|
|
87
|
+
* rules.
|
|
88
|
+
*/
|
|
117
89
|
export function dpuseESLintConfig(options) {
|
|
118
90
|
const { files = ['eslint.config.js', 'src/**/*.ts', 'tests/**/*.ts', 'vite.config.ts', 'vitest.config.ts'], ignores = [], importCoreModules = [], rules = {}, tsconfigPath = './tsconfig.json', tsconfigRootDir: tsconfigRootDirectory = process.cwd() } = options;
|
|
119
91
|
return defineConfig(
|
|
120
|
-
// ESLint's own recommended rules. Before the TypeScript configs, which switch off the ones TypeScript checks
|
|
92
|
+
// ESLint's own recommended rules. Before the TypeScript configs, which switch off the ones TypeScript checks
|
|
93
|
+
// better.
|
|
121
94
|
{ ignores: NON_CODE_FILES, extends: [pluginJS.configs.recommended] },
|
|
122
95
|
// Plain JavaScript files in DPUse projects are Node scripts, so their Node globals ('console', 'process') are
|
|
123
96
|
// declared. TypeScript files need none, because TypeScript checks names itself.
|
|
@@ -127,7 +100,8 @@ export function dpuseESLintConfig(options) {
|
|
|
127
100
|
files,
|
|
128
101
|
extends: [...tseslint.configs.strictTypeChecked, ...tseslint.configs.stylisticTypeChecked],
|
|
129
102
|
languageOptions: {
|
|
130
|
-
|
|
103
|
+
// The project service type-checks each file with its nearest 'tsconfig.json', as the editor does.
|
|
104
|
+
parserOptions: { projectService: true, tsconfigRootDir: tsconfigRootDirectory }
|
|
131
105
|
},
|
|
132
106
|
settings: {
|
|
133
107
|
'import-x/core-modules': importCoreModules,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAE,WAAW,IAAI,yBAAyB,EAAE,MAAM,yDAAyD,CAAC;AACnH,OAAO,EAAE,WAAW,IAAI,uBAAuB,EAAE,MAAM,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slint-config-dpuse",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.101",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Common ESLint configuration used across DPUse projects.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,24 +60,19 @@
|
|
|
60
60
|
"eslint-config-prettier": "^10.1.8",
|
|
61
61
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
62
62
|
"eslint-plugin-import-x": "^4.18.1",
|
|
63
|
-
"eslint-plugin-jsdoc": "^65.4.12",
|
|
64
63
|
"eslint-plugin-n": "^18.5.0",
|
|
65
64
|
"eslint-plugin-regexp": "^3.3.3",
|
|
66
|
-
"eslint-plugin-security": "^4.2.1",
|
|
67
|
-
"eslint-plugin-sonarjs": "^4.2.2",
|
|
68
65
|
"eslint-plugin-unicorn": "^80.0.0",
|
|
69
66
|
"globals": "^17.14.0",
|
|
70
67
|
"typescript-eslint": "^8.73.0"
|
|
71
68
|
},
|
|
72
69
|
"devDependencies": {
|
|
73
|
-
"@dpuse/dpuse-development": "^1.0.
|
|
74
|
-
"@types/eslint-plugin-security": "^3.0.1",
|
|
70
|
+
"@dpuse/dpuse-development": "^1.0.162",
|
|
75
71
|
"@types/node": "^26.6.6",
|
|
76
72
|
"@vitest/coverage-v8": "^5.1.1",
|
|
77
73
|
"eslint": "^10.15.0",
|
|
78
74
|
"prettier": "^3.10.1",
|
|
79
75
|
"typescript": "^6.0.3",
|
|
80
|
-
"typescript-eslint": "^8.73.0",
|
|
81
76
|
"vitest": "^5.1.1"
|
|
82
77
|
}
|
|
83
78
|
}
|