@hyeon/linter 7.0.37 → 7.0.39
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 +1 -2
- package/package.json +1 -1
- package/src/typescript.mjs +4 -3
package/README.md
CHANGED
|
@@ -10,10 +10,9 @@ npm install --save-dev @hyeon/linter
|
|
|
10
10
|
import hyeonLinter from '@hyeon/linter'
|
|
11
11
|
|
|
12
12
|
export default [
|
|
13
|
-
...hyeonLinter.
|
|
13
|
+
...hyeonLinter.typescript,
|
|
14
14
|
...hyeonLinter.react,
|
|
15
15
|
...hyeonLinter.prettier,
|
|
16
|
-
...hyeonLinter.typescript,
|
|
17
16
|
]
|
|
18
17
|
```
|
|
19
18
|
|
package/package.json
CHANGED
package/src/typescript.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import js from '@eslint/js';
|
|
1
2
|
import tseslint from 'typescript-eslint'
|
|
2
3
|
|
|
3
4
|
export default tseslint.config(
|
|
4
|
-
|
|
5
|
+
js.configs.recommended,
|
|
6
|
+
tseslint.configs.recommended,
|
|
5
7
|
{
|
|
6
|
-
|
|
7
|
-
files: ['**/*.{ts,tsx}'],
|
|
8
|
+
ignores: ['node_modules/', 'dist/'],
|
|
8
9
|
},
|
|
9
10
|
);
|