@firefoxic/eslint-config 3.0.0 → 4.0.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/README.md CHANGED
@@ -50,4 +50,4 @@ export default [
50
50
  [npm-image]: https://badge.fury.io/js/@firefoxic%2Feslint-config.svg
51
51
 
52
52
  [test-url]: https://github.com/firefoxic/eslint-config/actions
53
- [test-image]: https://github.com/firefoxic/eslint-config/actions/workflows/test.yml/badge.svg?branch=main
53
+ [test-image]: https://github.com/firefoxic/eslint-config/actions/workflows/test.yaml/badge.svg?branch=main
package/lib/index.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ declare module '@firefoxic/eslint-config' {
2
+ import { Linter } from 'eslint';
3
+
4
+ export let globals: any;
5
+ let firefoxicEslintConfig: Linter.Config;
6
+ export default firefoxicEslintConfig;
7
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@firefoxic/eslint-config",
3
3
  "description": "Shared config for eslint by firefoxic.",
4
- "version": "3.0.0",
4
+ "version": "4.0.0",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Sergey Artemov",
@@ -17,25 +17,28 @@
17
17
  },
18
18
  "type": "module",
19
19
  "engines": {
20
- "node": "^18.12 || >=20.9"
20
+ "node": "^20.12 || >=22.11"
21
+ },
22
+ "exports": {
23
+ "types": "./lib/index.d.ts",
24
+ "default": "./lib/index.js"
21
25
  },
22
- "exports": "./lib/index.js",
23
26
  "files": [
27
+ "./lib/index.d.ts",
24
28
  "./lib/index.js"
25
29
  ],
26
30
  "peerDependencies": {
27
- "eslint": "^9.9.0"
31
+ "eslint": "^9.13.0"
28
32
  },
29
33
  "dependencies": {
30
- "@eslint/js": "^9.9.0",
31
- "@stylistic/eslint-plugin-js": "^2.6.4",
34
+ "@eslint/js": "^9.13.0",
35
+ "@stylistic/eslint-plugin-js": "^2.9.0",
32
36
  "eslint-plugin-prefer-let": "^4.0.0",
33
- "globals": "^15.9.0"
37
+ "globals": "^15.11.0"
34
38
  },
35
39
  "devDependencies": {
36
- "@firefoxic/update-changelog": "^0.2.0",
37
- "eslint": "^9.9.0",
38
- "husky": "^9.1.4"
40
+ "@firefoxic/update-changelog": "^0.2.1",
41
+ "eslint": "^9.13.0"
39
42
  },
40
43
  "keywords": [
41
44
  "config",