@codeperfect/eslint-config 1.0.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.
- package/LICENSE +21 -0
- package/README.md +143 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/architecture/boundaries.d.ts +17 -0
- package/dist/architecture/boundaries.d.ts.map +1 -0
- package/dist/architecture/boundaries.js +69 -0
- package/dist/architecture/import-x.d.ts +12 -0
- package/dist/architecture/import-x.d.ts.map +1 -0
- package/dist/architecture/import-x.js +79 -0
- package/dist/architecture/index.d.ts +3 -0
- package/dist/architecture/index.d.ts.map +1 -0
- package/dist/architecture/index.js +3 -0
- package/dist/codeperfect-eslint-config-1.0.0.tgz +0 -0
- package/dist/config-composition.d.ts +6 -0
- package/dist/config-composition.d.ts.map +1 -0
- package/dist/config-composition.js +37 -0
- package/dist/configs/index.d.ts +7 -0
- package/dist/configs/index.d.ts.map +1 -0
- package/dist/configs/index.js +7 -0
- package/dist/core/eslint.d.ts +12 -0
- package/dist/core/eslint.d.ts.map +1 -0
- package/dist/core/eslint.js +58 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +4 -0
- package/dist/core/resolver.d.ts +11 -0
- package/dist/core/resolver.d.ts.map +1 -0
- package/dist/core/resolver.js +27 -0
- package/dist/core/typescript.d.ts +11 -0
- package/dist/core/typescript.d.ts.map +1 -0
- package/dist/core/typescript.js +63 -0
- package/dist/diagnostics.d.ts +43 -0
- package/dist/diagnostics.d.ts.map +1 -0
- package/dist/diagnostics.js +74 -0
- package/dist/docs/comments.d.ts +11 -0
- package/dist/docs/comments.d.ts.map +1 -0
- package/dist/docs/comments.js +30 -0
- package/dist/docs/index.d.ts +3 -0
- package/dist/docs/index.d.ts.map +1 -0
- package/dist/docs/index.js +3 -0
- package/dist/docs/jsdoc.d.ts +12 -0
- package/dist/docs/jsdoc.d.ts.map +1 -0
- package/dist/docs/jsdoc.js +77 -0
- package/dist/domain/index.d.ts +2 -0
- package/dist/domain/index.d.ts.map +1 -0
- package/dist/domain/index.js +2 -0
- package/dist/domain/rxjs-x.d.ts +11 -0
- package/dist/domain/rxjs-x.d.ts.map +1 -0
- package/dist/domain/rxjs-x.js +27 -0
- package/dist/index-spec-helpers.d.ts +44 -0
- package/dist/index-spec-helpers.d.ts.map +1 -0
- package/dist/index-spec-helpers.js +175 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +42 -0
- package/dist/module-taxonomy.d.ts +63 -0
- package/dist/module-taxonomy.d.ts.map +1 -0
- package/dist/module-taxonomy.js +21 -0
- package/dist/plugin-loaders.d.ts +110 -0
- package/dist/plugin-loaders.d.ts.map +1 -0
- package/dist/plugin-loaders.js +110 -0
- package/dist/style/index.d.ts +5 -0
- package/dist/style/index.d.ts.map +1 -0
- package/dist/style/index.js +5 -0
- package/dist/style/perfectionist.d.ts +11 -0
- package/dist/style/perfectionist.d.ts.map +1 -0
- package/dist/style/perfectionist.js +17 -0
- package/dist/style/prettier.d.ts +11 -0
- package/dist/style/prettier.d.ts.map +1 -0
- package/dist/style/prettier.js +15 -0
- package/dist/style/stylistic.d.ts +11 -0
- package/dist/style/stylistic.d.ts.map +1 -0
- package/dist/style/stylistic.js +15 -0
- package/dist/style/unicorn.d.ts +11 -0
- package/dist/style/unicorn.d.ts.map +1 -0
- package/dist/style/unicorn.js +15 -0
- package/dist/testing/index.d.ts +5 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +5 -0
- package/dist/testing/jasmine.d.ts +11 -0
- package/dist/testing/jasmine.d.ts.map +1 -0
- package/dist/testing/jasmine.js +25 -0
- package/dist/testing/jest.d.ts +11 -0
- package/dist/testing/jest.d.ts.map +1 -0
- package/dist/testing/jest.js +27 -0
- package/dist/testing/playwright.d.ts +12 -0
- package/dist/testing/playwright.d.ts.map +1 -0
- package/dist/testing/playwright.js +29 -0
- package/dist/testing/vitest.d.ts +11 -0
- package/dist/testing/vitest.d.ts.map +1 -0
- package/dist/testing/vitest.js +32 -0
- package/dist/types.d.ts +41 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/utilities.d.ts +52 -0
- package/dist/utilities.d.ts.map +1 -0
- package/dist/utilities.js +125 -0
- package/package.json +143 -0
package/package.json
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@codeperfect/eslint-config",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A shareable flat ESLint config for TypeScript repositories",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"eslint",
|
|
7
|
+
"eslintconfig",
|
|
8
|
+
"eslint-config",
|
|
9
|
+
"typescript",
|
|
10
|
+
"flat-config",
|
|
11
|
+
"shareable-config"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/parloti/eslint-config#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/parloti/eslint-config/issues"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/parloti/eslint-config.git"
|
|
20
|
+
},
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"author": "CodePerfect",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"import": "./dist/index.js",
|
|
28
|
+
"default": "./dist/index.js"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"main": "./dist/index.js",
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"files": [
|
|
34
|
+
"dist"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"\n# --------------- SCM --------------- #": "",
|
|
38
|
+
"commit": "npx --yes git-cz",
|
|
39
|
+
"prepare": "husky",
|
|
40
|
+
"\n# --------------- BUILDING --------------- #": "",
|
|
41
|
+
"build": "npm run clean && npm run compile",
|
|
42
|
+
"clean": "npx --yes rimraf dist",
|
|
43
|
+
"compile": "tsc -b -f ./tsconfig.build.json",
|
|
44
|
+
"pack": "npm pack --pack-destination dist",
|
|
45
|
+
"\n# --------------- DOCS --------------- #": "",
|
|
46
|
+
"docs": "npm run docs:clean && npm run docs:api",
|
|
47
|
+
"docs:api": "npx --yes typedoc --options typedoc.json",
|
|
48
|
+
"docs:clean": "npx --yes rimraf docs/api",
|
|
49
|
+
"\n# --------------- LINTING --------------- #": "",
|
|
50
|
+
"\t• --------------- checking --------------- •": "",
|
|
51
|
+
"eslint": "npx --yes eslint --max-warnings=0",
|
|
52
|
+
"lint": "npm run lint:run",
|
|
53
|
+
"lint:run": "npm run prettier && npm run eslint",
|
|
54
|
+
"lint:staged": "npx --yes tsx scripts/lint-staged.ts",
|
|
55
|
+
"prettier": "npx --yes prettier --ignore-unknown --check .",
|
|
56
|
+
"\n\t• --------------- fixing --------------- •": "",
|
|
57
|
+
"eslint:fix": "npm run check:rules && npm run eslint -- --fix",
|
|
58
|
+
"lint:fix": "npm run prettier:write && npm run eslint:fix",
|
|
59
|
+
"prettier:write": "npm run prettier -- --write",
|
|
60
|
+
"\n\t• --------------- helpers --------------- •": "",
|
|
61
|
+
"check:rules": "npx --yes eslint-config-prettier eslint.config.ts",
|
|
62
|
+
"eslint:inspect": "npx --yes @eslint/config-inspector",
|
|
63
|
+
"\n# --------------- TESTING --------------- #": "",
|
|
64
|
+
"typecheck": "tsc --noEmit",
|
|
65
|
+
"typecheck:spec": "tsc -p tsconfig.spec.json --noEmit",
|
|
66
|
+
"validate": "npm run lint && npm run typecheck && npm run typecheck:spec && npm run test && npm run build && npm run pack",
|
|
67
|
+
"\n\t• --------------- unit --------------- •": "",
|
|
68
|
+
"tdd": "npx --yes vitest run --watch --silent=true --coverage.enabled=false",
|
|
69
|
+
"tdd:notify": "npm run tdd -- --notify",
|
|
70
|
+
"test": "npx --yes vitest run"
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"minimatch": "^9.0.5"
|
|
74
|
+
},
|
|
75
|
+
"peerDependencies": {
|
|
76
|
+
"@eslint/js": ">=9.0.0",
|
|
77
|
+
"eslint": ">=9.0.0",
|
|
78
|
+
"jiti": ">=2.0.0",
|
|
79
|
+
"typescript": ">=5.0.0",
|
|
80
|
+
"typescript-eslint": ">=8.0.0"
|
|
81
|
+
},
|
|
82
|
+
"optionalDependencies": {
|
|
83
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
|
|
84
|
+
"@stylistic/eslint-plugin": "^5.7.1",
|
|
85
|
+
"@vitest/eslint-plugin": "^1.6.6",
|
|
86
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
87
|
+
"eslint-plugin-boundaries": "^5.3.1",
|
|
88
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
89
|
+
"eslint-plugin-jasmine": "^4.2.2",
|
|
90
|
+
"eslint-plugin-jest": "^29.12.1",
|
|
91
|
+
"eslint-plugin-jsdoc": "^62.4.1",
|
|
92
|
+
"eslint-plugin-perfectionist": "^5.4.0",
|
|
93
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
94
|
+
"eslint-plugin-rxjs-x": "^0.8.4",
|
|
95
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
96
|
+
"globals": "^17.2.0"
|
|
97
|
+
},
|
|
98
|
+
"devDependencies": {
|
|
99
|
+
"@commitlint/cli": "^20.4.1",
|
|
100
|
+
"@commitlint/config-conventional": "^20.4.1",
|
|
101
|
+
"@commitlint/cz-commitlint": "^20.4.1",
|
|
102
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
|
|
103
|
+
"@eslint/js": "^9.39.2",
|
|
104
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
105
|
+
"@semantic-release/github": "^12.0.6",
|
|
106
|
+
"@semantic-release/npm": "^13.1.5",
|
|
107
|
+
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
108
|
+
"@stylistic/eslint-plugin": "^5.7.1",
|
|
109
|
+
"@types/lodash-es": "^4.17.12",
|
|
110
|
+
"@types/node": "^25.2.1",
|
|
111
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
112
|
+
"@vitest/eslint-plugin": "^1.6.6",
|
|
113
|
+
"chalk": "^5.6.2",
|
|
114
|
+
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
115
|
+
"eslint": "^9.39.2",
|
|
116
|
+
"eslint-config-prettier": "^10.1.8",
|
|
117
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
118
|
+
"eslint-plugin-boundaries": "^5.4.0",
|
|
119
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
120
|
+
"eslint-plugin-jsdoc": "^62.5.3",
|
|
121
|
+
"eslint-plugin-perfectionist": "^5.5.0",
|
|
122
|
+
"eslint-plugin-playwright": "^2.5.1",
|
|
123
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
124
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
125
|
+
"globals": "^17.3.0",
|
|
126
|
+
"husky": "^9.1.7",
|
|
127
|
+
"jiti": "^2.6.1",
|
|
128
|
+
"lint-staged": "^16.2.7",
|
|
129
|
+
"lodash-es": "^4.17.23",
|
|
130
|
+
"rimraf": "^6.1.2",
|
|
131
|
+
"semantic-release": "^25.0.3",
|
|
132
|
+
"typedoc": "^0.28.17",
|
|
133
|
+
"typedoc-plugin-markdown": "^4.10.0",
|
|
134
|
+
"typescript": "^5.9.3",
|
|
135
|
+
"vitest": "^4.0.18"
|
|
136
|
+
},
|
|
137
|
+
"engines": {
|
|
138
|
+
"node": ">=24.0.0"
|
|
139
|
+
},
|
|
140
|
+
"publishConfig": {
|
|
141
|
+
"access": "public"
|
|
142
|
+
}
|
|
143
|
+
}
|