@homestuck/eslint-config 1.1.0 → 1.2.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/CHANGELOG.md +14 -0
- package/eslint.config.mjs +1 -1
- package/next.mjs +18 -0
- package/package.json +15 -8
- package/react.mjs +1 -1
- package/tsconfig.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.0](https://github.com/homestuck/configs/compare/eslint-config@v1.1.1...eslint-config@v1.2.0) (2025-12-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **eslint:** Add NextJS config to Eslint exports ([#18](https://github.com/homestuck/configs/issues/18)) ([54c5dc9](https://github.com/homestuck/configs/commit/54c5dc9625646c09e3ab7ebe917af43fb1ca871c))
|
|
9
|
+
|
|
10
|
+
## [1.1.1](https://github.com/homestuck/configs/compare/eslint-config@v1.1.0...eslint-config@v1.1.1) (2025-12-15)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **eslint:** Move eslint and globals from devDeps to deps ([#17](https://github.com/homestuck/configs/issues/17)) ([c91d958](https://github.com/homestuck/configs/commit/c91d958f76568dcc3b58e725ac2617a0c55633b9))
|
|
16
|
+
|
|
3
17
|
## [1.1.0](https://github.com/homestuck/configs/compare/eslint-config@v1.0.1...eslint-config@v1.1.0) (2025-12-11)
|
|
4
18
|
|
|
5
19
|
### Features
|
package/eslint.config.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { defineConfig } from 'eslint/config'
|
|
|
13
13
|
import globals from 'globals'
|
|
14
14
|
import tseslint from 'typescript-eslint'
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
const rootEslintConfig = defineConfig(
|
|
17
17
|
{
|
|
18
18
|
ignores: ['**/.next', '**/dist', '**/pnpm-lock.yaml', '**/next-env.d.ts'],
|
|
19
19
|
},
|
package/next.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FlatCompat } from '@eslint/eslintrc'
|
|
2
|
+
import { defineConfig } from 'eslint/config'
|
|
3
|
+
|
|
4
|
+
import reactEslintConfig from '@homestuck/eslint-config/react'
|
|
5
|
+
|
|
6
|
+
const compat = new FlatCompat({
|
|
7
|
+
baseDirectory: import.meta.dirname,
|
|
8
|
+
})
|
|
9
|
+
|
|
10
|
+
const $config = defineConfig([
|
|
11
|
+
reactEslintConfig,
|
|
12
|
+
// @ts-expect-error - False positive config type mismatch
|
|
13
|
+
...compat.config({
|
|
14
|
+
extends: ['plugin:@next/next/recommended'],
|
|
15
|
+
}),
|
|
16
|
+
])
|
|
17
|
+
|
|
18
|
+
export default $config
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homestuck/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Baseline eslint configs used and maintained by Homestuck Inc., et al.",
|
|
6
6
|
"repository": {
|
|
@@ -19,6 +19,13 @@
|
|
|
19
19
|
"require": "./eslint.config.mjs",
|
|
20
20
|
"default": "./eslint.config.mjs"
|
|
21
21
|
},
|
|
22
|
+
"./next": {
|
|
23
|
+
"types": "./next.mjs",
|
|
24
|
+
"import": "./next.mjs",
|
|
25
|
+
"node": "./next.mjs",
|
|
26
|
+
"require": "./next.mjs",
|
|
27
|
+
"default": "./next.mjs"
|
|
28
|
+
},
|
|
22
29
|
"./react": {
|
|
23
30
|
"types": "./react.mjs",
|
|
24
31
|
"import": "./react.mjs",
|
|
@@ -31,10 +38,11 @@
|
|
|
31
38
|
"prettier": "@homestuck/prettier-config",
|
|
32
39
|
"dependencies": {
|
|
33
40
|
"@eslint/eslintrc": "3.3.3",
|
|
34
|
-
"@eslint/js": "9.39.
|
|
35
|
-
"@next/eslint-plugin-next": "16.0.
|
|
41
|
+
"@eslint/js": "9.39.2",
|
|
42
|
+
"@next/eslint-plugin-next": "16.0.10",
|
|
36
43
|
"@typescript-eslint/eslint-plugin": "8.49.0",
|
|
37
44
|
"@typescript-eslint/parser": "8.49.0",
|
|
45
|
+
"eslint": "9.39.2",
|
|
38
46
|
"eslint-config-prettier": "10.1.8",
|
|
39
47
|
"eslint-import-resolver-alias": "1.1.2",
|
|
40
48
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
@@ -48,20 +56,19 @@
|
|
|
48
56
|
"eslint-plugin-react-you-might-not-need-an-effect": "0.7.0",
|
|
49
57
|
"eslint-plugin-regexp": "2.10.0",
|
|
50
58
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
51
|
-
"eslint-plugin-storybook": "10.1.
|
|
59
|
+
"eslint-plugin-storybook": "10.1.9",
|
|
52
60
|
"eslint-plugin-turbo": "2.6.3",
|
|
53
61
|
"eslint-plugin-unicorn": "62.0.0",
|
|
54
62
|
"eslint-plugin-unused-imports": "4.3.0",
|
|
63
|
+
"globals": "16.5.0",
|
|
55
64
|
"typescript-eslint": "8.49.0"
|
|
56
65
|
},
|
|
57
66
|
"devDependencies": {
|
|
58
67
|
"@types/eslint": "9.6.1",
|
|
59
68
|
"@types/eslint__js": "9.14.0",
|
|
60
|
-
"@types/node": "24.10.
|
|
61
|
-
"eslint": "9.39.1",
|
|
62
|
-
"globals": "16.5.0",
|
|
69
|
+
"@types/node": "24.10.4",
|
|
63
70
|
"prettier": "3.7.4",
|
|
64
|
-
"@homestuck/prettier-config": "1.
|
|
71
|
+
"@homestuck/prettier-config": "1.2.0",
|
|
65
72
|
"@homestuck/tsconfig": "1.1.0"
|
|
66
73
|
},
|
|
67
74
|
"scripts": {
|
package/react.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import pluginReactHooks from 'eslint-plugin-react-hooks'
|
|
|
8
8
|
import pluginReactYouMightNotNeedAnEffect from 'eslint-plugin-react-you-might-not-need-an-effect'
|
|
9
9
|
import { defineConfig } from 'eslint/config'
|
|
10
10
|
|
|
11
|
-
import
|
|
11
|
+
import rootEslintConfig from '@homestuck/eslint-config'
|
|
12
12
|
|
|
13
13
|
const $config = defineConfig(
|
|
14
14
|
...rootEslintConfig,
|
package/tsconfig.json
CHANGED