@bfra.me/eslint-config 0.4.2 → 0.4.4
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/lib/index.d.ts +2 -1
- package/package.json +7 -9
- package/src/index.ts +2 -0
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Linter } from 'eslint';
|
|
2
2
|
import { ResolvableFlatConfig, FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
3
|
+
export { FlatConfigComposer, ResolvableFlatConfig } from 'eslint-flat-config-utils';
|
|
3
4
|
import { ParserOptions } from '@typescript-eslint/types';
|
|
4
5
|
import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
5
6
|
|
|
@@ -7363,4 +7364,4 @@ declare const GLOB_TESTS: string[];
|
|
|
7363
7364
|
|
|
7364
7365
|
declare const config: ConfigComposer;
|
|
7365
7366
|
|
|
7366
|
-
export { type Flatten, GLOB_EXCLUDE, GLOB_SRC, GLOB_SRC_EXT, GLOB_TESTS, GLOB_TS, GLOB_TSX, type JavaScriptOptions, type Options, type OptionsFiles, type OptionsIsInEditor, type OptionsOverrides, type OptionsTypeScript, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type TypeScriptOptions, type VitestOptions, command, composeConfig, config, config as default, defineConfig, epilogue, eslintComments, ignores, imports, isInEditor, isInGitLifecycle, javascript, jsdoc, perfectionist, typescript, vitest };
|
|
7367
|
+
export { type AwaitableFlatConfig, type Config, type ConfigComposer, type ConfigNames, type Flatten, GLOB_EXCLUDE, GLOB_SRC, GLOB_SRC_EXT, GLOB_TESTS, GLOB_TS, GLOB_TSX, type JavaScriptOptions, type Options, type OptionsFiles, type OptionsIsInEditor, type OptionsOverrides, type OptionsTypeScript, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type Rules, type TypeScriptOptions, type VitestOptions, command, composeConfig, config, config as default, defineConfig, epilogue, eslintComments, ignores, imports, isInEditor, isInGitLifecycle, javascript, jsdoc, perfectionist, typescript, vitest };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bfra.me/eslint-config",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "Shared ESLint configuration for bfra.me",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bfra.me",
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"lib",
|
|
37
37
|
"!**/*.map"
|
|
38
38
|
],
|
|
39
|
-
"prettier": "@bfra.me/prettier-config",
|
|
40
39
|
"dependencies": {
|
|
41
40
|
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
|
|
42
41
|
"eslint-config-flat-gitignore": "0.3.0",
|
|
@@ -53,13 +52,12 @@
|
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
54
|
"@eslint/config-inspector": "0.5.6",
|
|
56
|
-
"@eslint/js": "9.
|
|
57
|
-
"@types/eslint__js": "8.42.3",
|
|
55
|
+
"@eslint/js": "9.14.0",
|
|
58
56
|
"@types/fs-extra": "11.0.4",
|
|
59
57
|
"@types/node": "22.8.6",
|
|
60
58
|
"@typescript-eslint/types": "8.12.2",
|
|
61
59
|
"@vitest/eslint-plugin": "1.1.7",
|
|
62
|
-
"eslint": "9.
|
|
60
|
+
"eslint": "9.14.0",
|
|
63
61
|
"eslint-plugin-no-only-tests": "3.3.0",
|
|
64
62
|
"eslint-typegen": "0.3.2",
|
|
65
63
|
"execa": "9.5.1",
|
|
@@ -70,9 +68,9 @@
|
|
|
70
68
|
"tsup": "8.3.5",
|
|
71
69
|
"tsx": "4.19.2",
|
|
72
70
|
"vitest": "2.1.4",
|
|
73
|
-
"@bfra.me/eslint-config": "0.4.
|
|
74
|
-
"@bfra.me/
|
|
75
|
-
"@bfra.me/
|
|
71
|
+
"@bfra.me/eslint-config": "0.4.4",
|
|
72
|
+
"@bfra.me/prettier-config": "0.9.1",
|
|
73
|
+
"@bfra.me/tsconfig": "0.9.0"
|
|
76
74
|
},
|
|
77
75
|
"peerDependencies": {
|
|
78
76
|
"@vitest/eslint-plugin": "^1.1.4",
|
|
@@ -96,6 +94,6 @@
|
|
|
96
94
|
"build-inspector": "eslint-config-inspector build --config ./eslint.config.ts",
|
|
97
95
|
"dev": "eslint-config-inspector --config ./eslint.config.ts --open false",
|
|
98
96
|
"generate-types": "tsx ./scripts/generate-types.ts",
|
|
99
|
-
"test": "vitest"
|
|
97
|
+
"test": "pnpm --filter-prod=\"{.}...\" --loglevel error run build && vitest"
|
|
100
98
|
}
|
|
101
99
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import {defineConfig} from './define-config'
|
|
2
2
|
|
|
3
3
|
export * from './compose-config'
|
|
4
|
+
export * from './config.d'
|
|
4
5
|
export * from './configs'
|
|
5
6
|
export * from './define-config'
|
|
6
7
|
export * from './env'
|
|
7
8
|
export * from './globs'
|
|
8
9
|
export * from './options'
|
|
10
|
+
export * from './rules.d'
|
|
9
11
|
|
|
10
12
|
export const config = defineConfig()
|
|
11
13
|
export default config
|