@phaicom/eslint-config 0.7.4 → 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +9 -9
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.7.4",
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",
@@ -21,7 +21,7 @@
21
21
  "node": ">=20"
22
22
  },
23
23
  "peerDependencies": {
24
- "eslint-plugin-better-tailwindcss": ">=3.7.6"
24
+ "eslint-plugin-better-tailwindcss": ">=3.7.10"
25
25
  },
26
26
  "peerDependenciesMeta": {
27
27
  "eslint-plugin-better-tailwindcss": {
@@ -29,18 +29,18 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@antfu/eslint-config": "^5.4.1",
33
- "eslint": "^9.37.0"
32
+ "@antfu/eslint-config": "^6.2.0",
33
+ "eslint": "^9.39.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@commitlint/cli": "^19.8.1",
37
- "@commitlint/config-conventional": "^19.8.1",
36
+ "@commitlint/cli": "^20.1.0",
37
+ "@commitlint/config-conventional": "^20.0.0",
38
38
  "bumpp": "^10.3.1",
39
- "eslint-plugin-better-tailwindcss": "^3.7.9",
39
+ "eslint-plugin-better-tailwindcss": "^3.7.10",
40
40
  "eslint-plugin-format": "^1.0.2",
41
- "lint-staged": "^16.2.3",
41
+ "lint-staged": "^16.2.6",
42
42
  "simple-git-hooks": "^2.13.1",
43
- "tsup": "^8.5.0",
43
+ "tsup": "^8.5.1",
44
44
  "typescript": "^5.9.3"
45
45
  },
46
46
  "commitlint": {