@codeperfect/eslint-plugin 3.2.0 → 3.2.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/dist/codeperfect-eslint-plugin-1.0.0.tgz +0 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/package.json +27 -22
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { codeperfectAngularPlugin } from "./adapters/index.js";
|
|
2
1
|
export { assertActualExpectedNamesRule, barrelFilesExportsOnlyRule, consistentBarrelFilesRule, enforceAaaStructureRule, noImportExportAliasesRule, noImportExportExtensionsRule, noInterfaceMemberDocumentationRule, noMultipleDeclaratorsRule, noReexportsOutsideBarrelsRule, noUnusedExportsRule, noUnusedPublicMembersRule, noUselessDelegationRule, preferInterfaceTypesRule, preferViMockedImportRule, requireActResultCaptureRule, requireExampleLanguageRule, requireTestCompanionRule, singleActStatementRule, singleLineJsdocRule, } from "./application/index.js";
|
|
3
2
|
export type { CustomRuleEntry } from "./application/index.js";
|
|
4
3
|
export { aaa, all, architecture, codeperfectPlugin, core, customRules, documentation, testing, } from "./infrastructure/index.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACvB,yBAAyB,EACzB,4BAA4B,EAC5B,kCAAkC,EAClC,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EACL,GAAG,EACH,GAAG,EACH,YAAY,EACZ,iBAAiB,EACjB,IAAI,EACJ,WAAW,EACX,aAAa,EACb,OAAO,GACR,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { codeperfectAngularPlugin } from "./adapters/index.js";
|
|
2
1
|
export { assertActualExpectedNamesRule, barrelFilesExportsOnlyRule, consistentBarrelFilesRule, enforceAaaStructureRule, noImportExportAliasesRule, noImportExportExtensionsRule, noInterfaceMemberDocumentationRule, noMultipleDeclaratorsRule, noReexportsOutsideBarrelsRule, noUnusedExportsRule, noUnusedPublicMembersRule, noUselessDelegationRule, preferInterfaceTypesRule, preferViMockedImportRule, requireActResultCaptureRule, requireExampleLanguageRule, requireTestCompanionRule, singleActStatementRule, singleLineJsdocRule, } from "./application/index.js";
|
|
3
2
|
export { aaa, all, architecture, codeperfectPlugin, core, customRules, documentation, testing, } from "./infrastructure/index.js";
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLDZCQUE2QixFQUM3QiwwQkFBMEIsRUFDMUIseUJBQXlCLEVBQ3pCLHVCQUF1QixFQUN2Qix5QkFBeUIsRUFDekIsNEJBQTRCLEVBQzVCLGtDQUFrQyxFQUNsQyx5QkFBeUIsRUFDekIsNkJBQTZCLEVBQzdCLG1CQUFtQixFQUNuQix5QkFB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LFxuICBzaW5nbGVBY3RTdGF0ZW1lbnRSdWxlLFxuICBzaW5nbGVMaW5lSnNkb2NSdWxlLFxufSBmcm9tIFwiLi9hcHBsaWNhdGlvblwiO1xuZXhwb3J0IHR5cGUgeyBDdXN0b21SdWxlRW50cnkgfSBmcm9tIFwiLi9hcHBsaWNhdGlvblwiO1xuZXhwb3J0IHtcbiAgYWFhLFxuICBhbGwsXG4gIGFyY2hpdGVjdHVyZSxcbiAgY29kZXBlcmZlY3RQbHVnaW4sXG4gIGNvcmUsXG4gIGN1c3RvbVJ1bGVzLFxuICBkb2N1bWVudGF0aW9uLFxuICB0ZXN0aW5nLFxufSBmcm9tIFwiLi9pbmZyYXN0cnVjdHVyZVwiO1xuZXhwb3J0IHR5cGUgeyBDb2RlcGVyZmVjdFByZXNldCB9IGZyb20gXCIuL2luZnJhc3RydWN0dXJlXCI7XG4iXX0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codeperfect/eslint-plugin",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Custom ESLint rules for TypeScript repositories",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "github:parloti/eslint-plugin",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"engines": {
|
|
25
|
-
"node": ">=24"
|
|
25
|
+
"node": ">=24.18.0"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"\n# ------------------ SCM ------------------ #": "",
|
|
34
34
|
"commit": "npx --yes git-cz",
|
|
35
35
|
"\n# ---------------- BUILDING ---------------- #": "",
|
|
36
|
-
"build": "
|
|
36
|
+
"build": "task-runner run build",
|
|
37
37
|
"clean": "npx --yes rimraf dist",
|
|
38
38
|
"\n • ---------- compilation ---------- •": "",
|
|
39
39
|
"pack": "npm pack --pack-destination dist",
|
|
@@ -42,24 +42,25 @@
|
|
|
42
42
|
"\n# ---------------- LINTING ---------------- #": "",
|
|
43
43
|
"\n • ------------ checking ------------ •": "",
|
|
44
44
|
"eslint": "npx --yes eslint --max-warnings=0",
|
|
45
|
-
"lint": "
|
|
45
|
+
"lint": "task-runner run lint",
|
|
46
46
|
"prettier": "npx --yes prettier --ignore-unknown --check .",
|
|
47
47
|
"\n • ------------- fixing ------------- •": "",
|
|
48
|
-
"eslint:fix": "
|
|
49
|
-
"lint:fix": "
|
|
48
|
+
"eslint:fix": "task-runner run eslint:fix",
|
|
49
|
+
"lint:fix": "task-runner run lint:fix",
|
|
50
50
|
"lint:staged": "npx --yes tsx scripts/lint-staged.ts",
|
|
51
51
|
"fmt": "npm run prettier -- --write",
|
|
52
52
|
"\n • ------------ helpers ------------ •": "",
|
|
53
53
|
"check:rules": "npx --yes eslint-config-prettier eslint.config.ts",
|
|
54
54
|
"eslint:inspect": "npx --yes @eslint/config-inspector",
|
|
55
55
|
"\n# ---------------- TESTING ---------------- #": "",
|
|
56
|
-
"e2e": "npx --yes vitest run --config vitest.config.e2e.ts",
|
|
56
|
+
"e2e": "npx --yes vitest run --no-color --config vitest.config.e2e.ts",
|
|
57
57
|
"mutation": "npx --yes stryker run",
|
|
58
|
-
"test:all": "
|
|
58
|
+
"test:all": "task-runner run test:all",
|
|
59
59
|
"typecheck": "tsc --project tsconfig.types.json",
|
|
60
|
-
"validate": "
|
|
60
|
+
"validate": "task-runner run validate",
|
|
61
|
+
"validate:ci": "task-runner run validate --ci",
|
|
61
62
|
"\n • -------------- unit -------------- •": "",
|
|
62
|
-
"test": "npx --yes vitest run",
|
|
63
|
+
"test": "npx --yes vitest run --no-color",
|
|
63
64
|
"tdd": "npm run test -- --watch --silent=true --coverage.enabled=false",
|
|
64
65
|
"\n# ------------------ DOCS ------------------ #": "",
|
|
65
66
|
"docs": "npm run docs:clean && npm run docs:api",
|
|
@@ -85,34 +86,38 @@
|
|
|
85
86
|
"devDependencies": {
|
|
86
87
|
"@angular/compiler": "^22.2.3",
|
|
87
88
|
"@codeperfect/commitlint-config-emoji": "^1.1.0",
|
|
88
|
-
"@codeperfect/eslint-config": "^2.
|
|
89
|
+
"@codeperfect/eslint-config": "^2.3.0",
|
|
90
|
+
"@codeperfect/task-runner": "^1.1.0",
|
|
89
91
|
"@commitlint/cz-commitlint": "^21.2.4",
|
|
90
92
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
|
|
91
93
|
"@eslint/js": "^10.0.1",
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"@stryker-mutator/
|
|
94
|
+
"@eslint/json": "^2.1.1",
|
|
95
|
+
"@eslint/markdown": "^8.0.3",
|
|
96
|
+
"@stryker-mutator/core": "^10.1.1",
|
|
97
|
+
"@stryker-mutator/typescript-checker": "^10.1.1",
|
|
98
|
+
"@stryker-mutator/vitest-runner": "^10.1.1",
|
|
95
99
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
96
100
|
"@types/lodash-es": "^4.17.12",
|
|
97
101
|
"@types/node": "^26.6.5",
|
|
98
102
|
"@typescript-eslint/rule-tester": "^8.72.0",
|
|
99
|
-
"@vitest/coverage-v8": "^
|
|
100
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
103
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
104
|
+
"@vitest/eslint-plugin": "^1.6.28",
|
|
101
105
|
"chalk": "^6.0.1",
|
|
102
106
|
"concurrently": "^10.0.6",
|
|
103
107
|
"eslint": "^10.13.0",
|
|
104
108
|
"eslint-config-prettier": "^10.1.8",
|
|
105
109
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
106
|
-
"eslint-plugin-boundaries": "^7.
|
|
110
|
+
"eslint-plugin-boundaries": "^7.3.0",
|
|
107
111
|
"eslint-plugin-eslint-plugin": "^7.6.2",
|
|
108
112
|
"eslint-plugin-import-x": "^4.17.1",
|
|
109
113
|
"eslint-plugin-jasmine": "^4.2.2",
|
|
110
114
|
"eslint-plugin-jest": "^29.17.0",
|
|
111
|
-
"eslint-plugin-jsdoc": "^65.4.
|
|
115
|
+
"eslint-plugin-jsdoc": "^65.4.2",
|
|
116
|
+
"eslint-plugin-package-json": "^1.11.0",
|
|
112
117
|
"eslint-plugin-perfectionist": "^5.13.0",
|
|
113
118
|
"eslint-plugin-prettier": "^5.5.7",
|
|
114
119
|
"eslint-plugin-rxjs-x": "^1.0.6",
|
|
115
|
-
"eslint-plugin-unicorn": "^
|
|
120
|
+
"eslint-plugin-unicorn": "^79.0.0",
|
|
116
121
|
"globals": "^17.13.0",
|
|
117
122
|
"husky": "^9.1.7",
|
|
118
123
|
"jiti": "^2.7.0",
|
|
@@ -123,15 +128,15 @@
|
|
|
123
128
|
"prettier": "^3.9.10",
|
|
124
129
|
"rimraf": "^6.1.3",
|
|
125
130
|
"semantic-release": "^25.0.9",
|
|
126
|
-
"tsc-alias": "^1.9.
|
|
131
|
+
"tsc-alias": "^1.9.9",
|
|
127
132
|
"typedoc": "^0.28.20",
|
|
128
133
|
"typedoc-plugin-markdown": "^4.14.1",
|
|
129
134
|
"typescript": "^6.0.3",
|
|
130
135
|
"typescript-eslint": "^8.72.0",
|
|
131
|
-
"vitest": "^
|
|
136
|
+
"vitest": "^5.0.5"
|
|
132
137
|
},
|
|
133
138
|
"peerDependencies": {
|
|
134
|
-
"@angular/compiler": ">=22.2.
|
|
139
|
+
"@angular/compiler": ">=22.2.3",
|
|
135
140
|
"eslint": ">=10.13.0"
|
|
136
141
|
},
|
|
137
142
|
"peerDependenciesMeta": {
|