@firefoxic/eslint-config 7.0.0 → 8.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/README.md CHANGED
@@ -46,7 +46,7 @@ export default [
46
46
  [changelog-url]: https://github.com/firefoxic/eslint-config/blob/main/CHANGELOG.md
47
47
  [changelog-image]: https://img.shields.io/badge/CHANGELOG-md-limegreen
48
48
 
49
- [npm-url]: https://npmjs.org/package/@firefoxic/eslint-config
49
+ [npm-url]: https://www.npmjs.com/package/@firefoxic/eslint-config
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
package/lib/index.js CHANGED
@@ -139,25 +139,25 @@ export default [
139
139
  `error`,
140
140
  {
141
141
  groups: [
142
- // 1.Node.js modules
142
+ // 1. Node.js modules
143
143
  [`^node:`],
144
144
  // 2. Foreign modules
145
145
  [`^@?\\w`],
146
- // 3. Absolute imports (@/...)
146
+ // 3. Styles
147
+ [`^.+\\.s?css$`],
148
+ // 4. Absolute imports (@/...)
147
149
  [`^@/`],
148
- // 4. Relative imports (up)
150
+ // 5. Relative imports (up)
149
151
  [
150
152
  `^\\.\\.(?!/?$)`,
151
153
  `^\\.\\./?$`,
152
154
  ],
153
- // 5. Relative imports (down)
155
+ // 6. Relative imports (down)
154
156
  [
155
157
  `^\\./(?=.*/)(?!/?$)`,
156
158
  `^\\.(?!/?$)`,
157
159
  `^\\./?$`,
158
160
  ],
159
- // 6. Styles
160
- [`^.+\\.s?css$`],
161
161
  ],
162
162
  },
163
163
  ],
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": "7.0.0",
4
+ "version": "8.0.1",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Sergey Artemov",
@@ -17,7 +17,8 @@
17
17
  },
18
18
  "type": "module",
19
19
  "engines": {
20
- "node": ">=20.19"
20
+ "node": ">=20.19",
21
+ "pnpm": ">=10.30"
21
22
  },
22
23
  "exports": {
23
24
  "default": "./lib/index.js",
@@ -29,20 +30,19 @@
29
30
  "!**/*.test.js"
30
31
  ],
31
32
  "peerDependencies": {
32
- "eslint": "^10.0.0"
33
+ "eslint": "^10.0.3"
33
34
  },
34
35
  "dependencies": {
35
- "@stylistic/eslint-plugin": "^5.7.1",
36
+ "@stylistic/eslint-plugin": "^5.10.0",
36
37
  "eslint-plugin-simple-import-sort": "^12.1.1",
37
- "globals": "^17.3.0"
38
+ "globals": "^17.4.0"
38
39
  },
39
40
  "scripts": {
40
- "help": "make help",
41
- "eslint": "eslint"
41
+ "help": "make help"
42
42
  },
43
43
  "devDependencies": {
44
- "@typescript-eslint/parser": "^8.54.0",
45
- "eslint": "^10.0.0"
44
+ "@typescript-eslint/parser": "^8.57.1",
45
+ "eslint": "^10.0.3"
46
46
  },
47
47
  "keywords": [
48
48
  "config",