@phaicom/eslint-config 0.8.0 → 0.9.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/index.d.ts +2 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import antfu, { OptionsConfig as OptionsConfig$1, TypedFlatConfigItem } from '@a
|
|
|
2
2
|
|
|
3
3
|
type EslintConfigReturn = ReturnType<typeof antfu>;
|
|
4
4
|
type UserConfigParams = Parameters<typeof antfu>[1];
|
|
5
|
-
interface OptionsConfig extends OptionsConfig$1, TypedFlatConfigItem {
|
|
5
|
+
interface OptionsConfig extends Omit<OptionsConfig$1, 'ignores'>, Omit<TypedFlatConfigItem, 'ignores'> {
|
|
6
6
|
/**
|
|
7
7
|
* Used phaicom's base rules:
|
|
8
8
|
* @default true
|
|
@@ -14,6 +14,7 @@ interface OptionsConfig extends OptionsConfig$1, TypedFlatConfigItem {
|
|
|
14
14
|
* @default false
|
|
15
15
|
*/
|
|
16
16
|
tailwind?: boolean;
|
|
17
|
+
ignores?: string[];
|
|
17
18
|
}
|
|
18
19
|
type EslintConfig = (options: OptionsConfig, ...configs: UserConfigParams[]) => EslintConfigReturn;
|
|
19
20
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phaicom/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.9.0",
|
|
5
5
|
"description": "Phaicom's config based on @antfu/eslint-config",
|
|
6
6
|
"author": "Reawpai Chunsoi <reawpai.chunsoi@gmail.com> (https://github.com/phaicom)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@antfu/eslint-config": "^6.
|
|
33
|
-
"eslint": "^9.
|
|
32
|
+
"@antfu/eslint-config": "^6.2.0",
|
|
33
|
+
"eslint": "^9.39.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@commitlint/cli": "^20.1.0",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"bumpp": "^10.3.1",
|
|
39
39
|
"eslint-plugin-better-tailwindcss": "^3.7.10",
|
|
40
40
|
"eslint-plugin-format": "^1.0.2",
|
|
41
|
-
"lint-staged": "^16.2.
|
|
41
|
+
"lint-staged": "^16.2.6",
|
|
42
42
|
"simple-git-hooks": "^2.13.1",
|
|
43
|
-
"tsup": "^8.5.
|
|
43
|
+
"tsup": "^8.5.1",
|
|
44
44
|
"typescript": "^5.9.3"
|
|
45
45
|
},
|
|
46
46
|
"commitlint": {
|