@creo-team/eslint-config 5.0.4 → 5.1.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/dist/eslint.config.d.ts +10 -1
- package/dist/index.d.mts +10 -1
- package/dist/structure.d.ts +1 -1
- package/dist/utils.d.ts +2 -2
- package/package.json +1 -1
package/dist/eslint.config.d.ts
CHANGED
|
@@ -2,5 +2,14 @@ declare const _exports: import("eslint").Linter.Config<import("@eslint/core").Ru
|
|
|
2
2
|
createConfig: typeof createConfig;
|
|
3
3
|
};
|
|
4
4
|
export = _exports;
|
|
5
|
-
declare function createConfig(options?: {
|
|
5
|
+
declare function createConfig(options?: {
|
|
6
|
+
ignores?: readonly string[];
|
|
7
|
+
projectService?: boolean;
|
|
8
|
+
tsconfig?: string;
|
|
9
|
+
structure?: {
|
|
10
|
+
appPath?: string;
|
|
11
|
+
appStructure?: string | string[] | object;
|
|
12
|
+
workspaces?: string[];
|
|
13
|
+
} | null;
|
|
14
|
+
}): import('eslint').Linter.Config[];
|
|
6
15
|
//# sourceMappingURL=eslint.config.d.ts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import config from './eslint.config.js';
|
|
2
|
-
declare const createConfig: (options?: {
|
|
2
|
+
declare const createConfig: (options?: {
|
|
3
|
+
ignores?: readonly string[];
|
|
4
|
+
projectService?: boolean;
|
|
5
|
+
tsconfig?: string;
|
|
6
|
+
structure?: {
|
|
7
|
+
appPath?: string;
|
|
8
|
+
appStructure?: string | string[] | object;
|
|
9
|
+
workspaces?: string[];
|
|
10
|
+
} | null;
|
|
11
|
+
}) => import('eslint').Linter.Config[];
|
|
3
12
|
export { createConfig };
|
|
4
13
|
export default config;
|
|
5
14
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/structure.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _exports: {
|
|
2
|
-
appStructurePresets: Record<string, object>;
|
|
2
|
+
appStructurePresets: Record<string, object | undefined>;
|
|
3
3
|
buildStructureConfig: typeof buildStructureConfig;
|
|
4
4
|
createAppStructure: typeof createAppStructure;
|
|
5
5
|
createMonorepoStructure: typeof createMonorepoStructure;
|
package/dist/utils.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ declare const _exports: {
|
|
|
3
3
|
getTsConfigFile: typeof getTsConfigFile;
|
|
4
4
|
};
|
|
5
5
|
export = _exports;
|
|
6
|
-
declare function debug(message:
|
|
7
|
-
declare function getTsConfigFile(targetFile?:
|
|
6
|
+
declare function debug(message: string): void;
|
|
7
|
+
declare function getTsConfigFile(targetFile?: string, fallbackFile?: string, startDir?: string): string;
|
|
8
8
|
//# sourceMappingURL=utils.d.ts.map
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@creo-team/eslint-config","version":"5.0
|
|
1
|
+
{"name":"@creo-team/eslint-config","version":"5.1.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 . --max-warnings 0","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":"^6.0.0","eslint":"^10.15.0","eslint-import-resolver-typescript":"^4.4.5","eslint-plugin-import-x":"^4.18.1","eslint-plugin-jsdoc":"^65.4.8","eslint-plugin-perfectionist":"^5.14.0","eslint-plugin-prettier":"^5.5.7","typescript":"npm:@typescript/typescript6@^6.0.2","typescript-eslint":"^8.72.2"},"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":{"@types/node":"^22.20.5","@typescript/native":"npm:typescript@^7.0.2","react":"^19.3.1","react-dom":"^19.3.1","vite":"^8.3.8","vitest":"^5.1.0"},"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"}}}
|