@tarsilla/eslint-config 0.2.2 → 1.0.1

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 CHANGED
@@ -1,13 +1,20 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
1
+ import type { TSESLint } from '@typescript-eslint/utils';
2
2
 
3
3
  type EslintOptions = {
4
4
  ignores: string[];
5
5
  };
6
6
 
7
+
8
+
7
9
  declare function eslintLibraryConfig({ ignores }: EslintOptions): TSESLint.FlatConfig.ConfigArray;
8
10
 
11
+
12
+
9
13
  declare function eslintNextConfig({ ignores }: EslintOptions): TSESLint.FlatConfig.ConfigArray;
10
14
 
15
+
16
+
11
17
  declare function eslintReactConfig({ ignores }: EslintOptions): TSESLint.FlatConfig.ConfigArray;
12
18
 
13
- export { type EslintOptions, eslintLibraryConfig, eslintNextConfig, eslintReactConfig };
19
+ export { eslintLibraryConfig, eslintNextConfig, eslintReactConfig };
20
+ export type { EslintOptions };
@@ -1,9 +1,11 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
1
+ import type { TSESLint } from '@typescript-eslint/utils';
2
2
 
3
3
  type EslintOptions = {
4
4
  ignores: string[];
5
5
  };
6
6
 
7
+
8
+
7
9
  declare function eslintLibraryConfig({ ignores }: EslintOptions): TSESLint.FlatConfig.ConfigArray;
8
10
 
9
11
  export { eslintLibraryConfig };
@@ -1,9 +1,11 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
1
+ import type { TSESLint } from '@typescript-eslint/utils';
2
2
 
3
3
  type EslintOptions = {
4
4
  ignores: string[];
5
5
  };
6
6
 
7
+
8
+
7
9
  declare function eslintNextConfig({ ignores }: EslintOptions): TSESLint.FlatConfig.ConfigArray;
8
10
 
9
11
  export { eslintNextConfig };
@@ -1,9 +1,11 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
1
+ import type { TSESLint } from '@typescript-eslint/utils';
2
2
 
3
3
  type EslintOptions = {
4
4
  ignores: string[];
5
5
  };
6
6
 
7
+
8
+
7
9
  declare function eslintReactConfig({ ignores }: EslintOptions): TSESLint.FlatConfig.ConfigArray;
8
10
 
9
11
  export { eslintReactConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarsilla/eslint-config",
3
- "version": "0.2.2",
3
+ "version": "1.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -49,8 +49,6 @@
49
49
  "tsc": "tsc --noEmit",
50
50
  "clean": "rm -rf ./lib",
51
51
  "build": "npm run clean && npm run lint && npm run tsc && rollup -c",
52
- "prepub": "npm run build",
53
- "pub": "npm publish --access public",
54
52
  "prepare": "husky"
55
53
  },
56
54
  "peerDependencies": {
@@ -59,10 +57,9 @@
59
57
  "dependencies": {
60
58
  "@eslint/eslintrc": "^3.3.0",
61
59
  "@eslint/js": "^9.22.0",
62
- "@types/node": "^22.13.10",
63
- "eslint-config-next": "^15.2.2",
60
+ "eslint-config-next": "^15.2.3",
64
61
  "eslint-config-prettier": "^10.1.1",
65
- "eslint-import-resolver-typescript": "^3.8.7",
62
+ "eslint-import-resolver-typescript": "^4.2.2",
66
63
  "eslint-plugin-import": "^2.31.0",
67
64
  "eslint-plugin-jest": "^28.11.0",
68
65
  "eslint-plugin-prettier": "^5.2.3",
@@ -73,23 +70,15 @@
73
70
  "typescript-eslint": "^8.26.1"
74
71
  },
75
72
  "devDependencies": {
76
- "@commitlint/cli": "^19.8.0",
77
- "@commitlint/config-conventional": "^19.8.0",
78
73
  "@rollup/plugin-commonjs": "^28.0.3",
79
74
  "@rollup/plugin-node-resolve": "^16.0.1",
80
75
  "@rollup/plugin-swc": "^0.4.0",
81
76
  "@rollup/plugin-terser": "^0.4.4",
82
- "@semantic-release/changelog": "^6.0.3",
83
- "@semantic-release/commit-analyzer": "^13.0.1",
84
- "@semantic-release/git": "^10.0.1",
85
- "@semantic-release/npm": "^12.0.1",
86
- "@semantic-release/release-notes-generator": "^14.0.3",
87
- "cz-conventional-changelog": "^3.3.0",
77
+ "@tarsilla/commit-wizard": "^1.0.1",
88
78
  "husky": "^9.1.7",
89
- "rollup": "^4.35.0",
90
- "rollup-plugin-dts": "^6.1.1",
79
+ "rollup": "^4.36.0",
80
+ "rollup-plugin-dts": "^6.2.0",
91
81
  "rollup-plugin-peer-deps-external": "^2.2.4",
92
- "semantic-release": "^24.2.3",
93
82
  "typescript": "^5.8.2"
94
83
  }
95
84
  }