@creo-team/eslint-config 2.5.6 → 5.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/README.md +36 -13
- package/dist/constants.d.ts +47 -49
- package/dist/constants.js +7 -7
- package/dist/constants.js.map +1 -1
- package/dist/eslint.config.d.ts +2 -85
- package/dist/eslint.config.js +9 -21
- package/dist/eslint.config.js.map +1 -1
- package/dist/index.d.mts +5 -0
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -0
- package/dist/rules.d.ts +283 -330
- package/dist/rules.js +24 -57
- package/dist/rules.js.map +1 -1
- package/dist/structure.d.ts +13 -7
- package/dist/utils.d.ts +7 -2
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
package/dist/rules.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const { all, always, error, namingConvention, never,
|
|
2
|
+
const { all, always, error, namingConvention, never, off, warn } = require('./constants.js');
|
|
3
3
|
const maxClasses = 1;
|
|
4
4
|
const maxComplexity = 15;
|
|
5
5
|
const maxLinesPerFile = 400;
|
|
6
6
|
const maxLinesPerFunction = 200;
|
|
7
|
-
const maxConsecutiveEmptyLines = 1;
|
|
8
7
|
const printWidth = 120;
|
|
9
8
|
const tabWidth = 4;
|
|
10
9
|
const newlineCount = 1;
|
|
@@ -15,7 +14,7 @@ const jsDoc = {
|
|
|
15
14
|
error,
|
|
16
15
|
{
|
|
17
16
|
require: {
|
|
18
|
-
ArrowFunctionExpression:
|
|
17
|
+
ArrowFunctionExpression: false,
|
|
19
18
|
ClassDeclaration: false,
|
|
20
19
|
ClassExpression: true,
|
|
21
20
|
FunctionDeclaration: true,
|
|
@@ -56,25 +55,6 @@ const prettier = {
|
|
|
56
55
|
],
|
|
57
56
|
};
|
|
58
57
|
const stylisticTs = {
|
|
59
|
-
'@stylistic/block-spacing': [error, always],
|
|
60
|
-
'@stylistic/brace-style': [error, '1tbs'],
|
|
61
|
-
'@stylistic/comma-dangle': [error, 'always-multiline'],
|
|
62
|
-
'@stylistic/comma-spacing': [error, { before: false }],
|
|
63
|
-
'@stylistic/function-call-spacing': [error, never],
|
|
64
|
-
'@stylistic/key-spacing': [
|
|
65
|
-
error,
|
|
66
|
-
{
|
|
67
|
-
afterColon: true,
|
|
68
|
-
beforeColon: false,
|
|
69
|
-
},
|
|
70
|
-
],
|
|
71
|
-
'@stylistic/keyword-spacing': [
|
|
72
|
-
error,
|
|
73
|
-
{
|
|
74
|
-
after: true,
|
|
75
|
-
before: true,
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
58
|
'@stylistic/lines-around-comment': [
|
|
79
59
|
error,
|
|
80
60
|
{
|
|
@@ -98,19 +78,6 @@ const stylisticTs = {
|
|
|
98
78
|
},
|
|
99
79
|
{ exceptAfterSingleLine: true },
|
|
100
80
|
],
|
|
101
|
-
'@stylistic/member-delimiter-style': [
|
|
102
|
-
error,
|
|
103
|
-
{
|
|
104
|
-
multiline: { delimiter: none },
|
|
105
|
-
},
|
|
106
|
-
],
|
|
107
|
-
'@stylistic/no-extra-parens': [error, 'functions'],
|
|
108
|
-
'@stylistic/padding-line-between-statements': off,
|
|
109
|
-
'@stylistic/quote-props': [error, 'as-needed'],
|
|
110
|
-
'@stylistic/semi': [error, never],
|
|
111
|
-
'@stylistic/space-before-blocks': [error, always],
|
|
112
|
-
'@stylistic/space-infix-ops': error,
|
|
113
|
-
'@stylistic/type-annotation-spacing': error,
|
|
114
81
|
};
|
|
115
82
|
const tsEslint = {
|
|
116
83
|
'@typescript-eslint/array-type': error,
|
|
@@ -121,9 +88,10 @@ const tsEslint = {
|
|
|
121
88
|
'@typescript-eslint/consistent-type-imports': error,
|
|
122
89
|
'@typescript-eslint/dot-notation': error,
|
|
123
90
|
'@typescript-eslint/naming-convention': [error, ...namingConvention.default],
|
|
124
|
-
'@typescript-eslint/no-explicit-any':
|
|
91
|
+
'@typescript-eslint/no-explicit-any': warn,
|
|
125
92
|
'@typescript-eslint/no-extraneous-class': off,
|
|
126
|
-
'@typescript-eslint/no-
|
|
93
|
+
'@typescript-eslint/no-misused-spread': off,
|
|
94
|
+
'@typescript-eslint/no-unnecessary-condition': warn,
|
|
127
95
|
'@typescript-eslint/no-unsafe-argument': warn,
|
|
128
96
|
'@typescript-eslint/no-unsafe-assignment': off,
|
|
129
97
|
'@typescript-eslint/no-unsafe-call': off,
|
|
@@ -133,25 +101,25 @@ const tsEslint = {
|
|
|
133
101
|
'@typescript-eslint/unbound-method': off,
|
|
134
102
|
complexity: [error, { max: maxComplexity }],
|
|
135
103
|
'dot-notation': off,
|
|
136
|
-
'
|
|
137
|
-
'import/
|
|
138
|
-
'import/
|
|
139
|
-
'import/
|
|
140
|
-
'import/no-
|
|
141
|
-
'import/no-
|
|
142
|
-
'import/no-
|
|
143
|
-
'import/no-
|
|
144
|
-
'import/no-
|
|
145
|
-
'import/no-
|
|
146
|
-
'import/no-
|
|
147
|
-
'import/no-
|
|
148
|
-
'import/
|
|
149
|
-
'import/prefer-default-export': off,
|
|
104
|
+
'import-x/first': error,
|
|
105
|
+
'import-x/named': error,
|
|
106
|
+
'import-x/newline-after-import': [error, { count: newlineCount }],
|
|
107
|
+
'import-x/no-absolute-path': error,
|
|
108
|
+
'import-x/no-cycle': error,
|
|
109
|
+
'import-x/no-duplicates': error,
|
|
110
|
+
'import-x/no-empty-named-blocks': error,
|
|
111
|
+
'import-x/no-relative-packages': error,
|
|
112
|
+
'import-x/no-self-import': error,
|
|
113
|
+
'import-x/no-unresolved': error,
|
|
114
|
+
'import-x/no-unused-modules': off,
|
|
115
|
+
'import-x/no-useless-path-segments': error,
|
|
116
|
+
'import-x/prefer-default-export': off,
|
|
150
117
|
'max-classes-per-file': [error, { ignoreExpressions: true, max: maxClasses }],
|
|
151
118
|
'max-lines': [error, { max: maxLinesPerFile, skipBlankLines: true, skipComments: true }],
|
|
152
119
|
'max-lines-per-function': [error, maxLinesPerFunction],
|
|
153
120
|
'newline-before-return': error,
|
|
154
|
-
'no-
|
|
121
|
+
'no-await-in-loop': warn,
|
|
122
|
+
'no-console': warn,
|
|
155
123
|
'no-magic-numbers': [
|
|
156
124
|
warn,
|
|
157
125
|
{
|
|
@@ -161,8 +129,7 @@ const tsEslint = {
|
|
|
161
129
|
ignoreDefaultValues: true,
|
|
162
130
|
},
|
|
163
131
|
],
|
|
164
|
-
'no-
|
|
165
|
-
'no-multiple-empty-lines': [error, { max: maxConsecutiveEmptyLines }],
|
|
132
|
+
'no-promise-executor-return': error,
|
|
166
133
|
'no-restricted-imports': off,
|
|
167
134
|
'no-unsafe-member-access': off,
|
|
168
135
|
'object-curly-newline': off,
|
|
@@ -170,9 +137,9 @@ const tsEslint = {
|
|
|
170
137
|
};
|
|
171
138
|
const commonjsPreventRules = {
|
|
172
139
|
'@typescript-eslint/no-require-imports': off,
|
|
173
|
-
'import/no-amd': off,
|
|
174
|
-
'import/no-commonjs': off,
|
|
175
|
-
'import/no-default-export': off,
|
|
140
|
+
'import-x/no-amd': off,
|
|
141
|
+
'import-x/no-commonjs': off,
|
|
142
|
+
'import-x/no-default-export': off,
|
|
176
143
|
};
|
|
177
144
|
const rulesToDisable = {
|
|
178
145
|
'perfectionist/sort-imports': off,
|
package/dist/rules.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../rules.js"],"names":[],"mappings":";AAAA,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../rules.js"],"names":[],"mappings":";AAAA,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAA;AAE5F,MAAM,UAAU,GAAG,CAAC,CAAA;AACpB,MAAM,aAAa,GAAG,EA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5C,iBAAiB,EAAE,GAAG;IACtB,sBAAsB,EAAE,GAAG;IAC3B,4BAA4B,EAAE,GAAG;CACjC,CAAA;AAKD,MAAM,cAAc,GAAG;IACtB,4BAA4B,EAAE,GAAG;CACjC,CAAA;AAED,MAAM,KAAK,GAAG;IACb,GAAG,oBAAoB;IACvB,GAAG,QAAQ;IACX,GAAG,KAAK;IACR,GAAG,WAAW;IACd,GAAG,QAAQ;IACX,GAAG,cAAc;CACjB,CAAA;AAED,MAAM,CAAC,OAAO,GAAG;IAChB,oBAAoB;IACpB,KAAK;IACL,QAAQ;IACR,KAAK;IACL,WAAW;IACX,QAAQ;CACR,CAAA"}
|
package/dist/structure.d.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare const _exports: {
|
|
2
|
+
appStructurePresets: Record<string, object>;
|
|
3
|
+
buildStructureConfig: typeof buildStructureConfig;
|
|
4
|
+
createAppStructure: typeof createAppStructure;
|
|
5
|
+
createMonorepoStructure: typeof createMonorepoStructure;
|
|
6
|
+
};
|
|
7
|
+
export = _exports;
|
|
8
|
+
declare function createMonorepoStructure(workspaces: string[]): object;
|
|
9
|
+
declare function buildStructureConfig(options?: {
|
|
10
|
+
workspaces?: string[];
|
|
11
|
+
appStructure?: string | string[] | object;
|
|
12
|
+
appPath?: string;
|
|
6
13
|
}): object | null;
|
|
7
|
-
|
|
8
|
-
export function createMonorepoStructure(workspaces: string[]): object;
|
|
14
|
+
declare function createAppStructure(presetOrDirs: string | string[] | object): object | null;
|
|
9
15
|
//# sourceMappingURL=structure.d.ts.map
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const _exports: {
|
|
2
|
+
debug: typeof debug;
|
|
3
|
+
getTsConfigFile: typeof getTsConfigFile;
|
|
4
|
+
};
|
|
5
|
+
export = _exports;
|
|
6
|
+
declare function debug(message: any): void;
|
|
7
|
+
declare function getTsConfigFile(targetFile?: any, fallbackFile?: any, startDir?: any): any;
|
|
3
8
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../utils.js"],"names":[],"mappings":";AAAA,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AACpC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAOzC,SAAS,KAAK,CAAC,OAAO;IACrB,IAAI,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../utils.js"],"names":[],"mappings":";AAAA,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AACpC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAOzC,SAAS,KAAK,CAAC,OAAO;IACrB,IAAI,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC;QAE9B,OAAO,CAAC,KAAK,CAAC,aAAa,OAAO,EAAE,CAAC,CAAA;IACtC,CAAC;AACF,CAAC;AAWD,SAAS,eAAe,CACvB,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,IAAI,sBAAsB,EAClE,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,IAAI,eAAe,EACtE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,gBAAgB,IAAI,OAAO,CAAC,GAAG,EAAE;IAExD,IAAI,UAAU,GAAG,QAAQ,CAAA;IAEzB,KAAK,CAAC,wBAAwB,UAAU,qBAAqB,UAAU,GAAG,CAAC,CAAA;IAE3E,OAAO,UAAU,EAAE,CAAC;QACnB,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;QAE/C,KAAK,CAAC,gBAAgB,UAAU,aAAa,CAAC,CAAA;QAE9C,IAAI,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,UAAU,UAAU,SAAS,UAAU,GAAG,CAAC,CAAA;YAEjD,OAAO,UAAU,CAAA;QAClB,CAAC;QAED,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;QACrC,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;YAC9B,KAAK,CAAC,+CAA+C,UAAU,GAAG,CAAC,CAAA;YACnE,MAAK;QACN,CAAC;QAED,UAAU,GAAG,SAAS,CAAA;IACvB,CAAC;IAED,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAA;IACjD,KAAK,CAAC,wBAAwB,YAAY,SAAS,YAAY,GAAG,CAAC,CAAA;IAEnE,OAAO,YAAY,CAAA;AACpB,CAAC;AAED,MAAM,CAAC,OAAO,GAAG;IAChB,KAAK;IACL,eAAe;CACf,CAAA"}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@creo-team/eslint-config","version":"
|
|
1
|
+
{"name":"@creo-team/eslint-config","version":"5.0.0","description":"ESLint flat config: TypeScript (strict), Prettier, JSDoc, complexity, no-magic-numbers. createConfig() for options.","author":"Colten Krauter <coltenkrauter>","main":"dist/eslint.config.js","homepage":"https://github.com/creo-team/eslint-config","repository":{"type":"git","url":"git+https://github.com/creo-team/eslint-config.git"},"scripts":{"build":"tsc","fix":"npm run lint -- --fix","lint":"npx eslint .","prepublishOnly":"npm run build && npm run test:types","test":"vitest run && npm run lint","test:types":"tsc -p test/types","test:watch":"vitest","typecheck":"tsc --noEmit","upgrade:all":"npx npm-check-updates --upgrade && npm install"},"keywords":["eslint","eslint-config","creo-team","flat-config","typescript","prettier","jsdoc","linting","lint"],"license":"ISC","dependencies":{"@eslint/js":"^10.0.1","@stylistic/eslint-plugin":"^5.10.0","eslint":"^10.11.0","eslint-import-resolver-typescript":"^4.4.5","eslint-plugin-import-x":"^4.17.1","eslint-plugin-jsdoc":"^64.5.4","eslint-plugin-perfectionist":"^5.12.1","eslint-plugin-prettier":"^5.5.6","typescript":"npm:@typescript/typescript6@^6.0.2","typescript-eslint":"^8.71.0"},"files":["dist/eslint.config.js","dist/index.mjs","dist/rules.js","dist/utils.js","dist/constants.js","dist/structure.js","dist/*.d.ts","dist/*.d.mts","dist/*.js.map","dist/*.mjs.map"],"type":"commonjs","devDependencies":{"@typescript/native":"npm:typescript@^7.0.2","react":"^19.3.0","react-dom":"^19.3.0","vite":"^8.3.1","vitest":"^5.0.2"},"engines":{"node":"^22.22.2 || >=24.15.0","npm":">=10"},"publishConfig":{"access":"public"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/eslint.config.js","default":"./dist/eslint.config.js"},"./constants":{"require":"./dist/constants.js","default":"./dist/constants.js"}}}
|