@lvce-editor/eslint-config 5.0.0 → 5.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/index.js +3 -0
- package/package.json +4 -3
package/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import eslint from '@eslint/js'
|
|
2
2
|
import markdown from '@eslint/markdown'
|
|
3
|
+
import cspellPlugin from '@cspell/eslint-plugin'
|
|
3
4
|
import pluginJest from 'eslint-plugin-jest'
|
|
4
5
|
import nodePlugin from 'eslint-plugin-n'
|
|
5
6
|
import packageJson from 'eslint-plugin-package-json'
|
|
@@ -19,9 +20,11 @@ const defaultConfig = tseslint.config(
|
|
|
19
20
|
{
|
|
20
21
|
files: ['**/*.ts'],
|
|
21
22
|
plugins: {
|
|
23
|
+
'@cspell': cspellPlugin,
|
|
22
24
|
perfectionist,
|
|
23
25
|
},
|
|
24
26
|
rules: {
|
|
27
|
+
'@cspell/spellchecker': 'error',
|
|
25
28
|
'perfectionist/sort-imports': [
|
|
26
29
|
'error',
|
|
27
30
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"homepage": "https://github.com/lvce-editor/eslint-config#readme",
|
|
20
20
|
"description": "",
|
|
21
21
|
"dependencies": {
|
|
22
|
+
"@cspell/eslint-plugin": "8.19.1",
|
|
22
23
|
"@eslint/css": "0.14.1",
|
|
23
24
|
"@eslint/js": "9.39.2",
|
|
24
25
|
"@eslint/json": "1.0.0",
|
|
@@ -30,8 +31,8 @@
|
|
|
30
31
|
"eslint-plugin-unicorn": "62.0.0",
|
|
31
32
|
"eslint-plugin-yml": "3.0.0",
|
|
32
33
|
"typescript-eslint": "8.54.0",
|
|
33
|
-
"@lvce-editor/eslint-plugin-tsconfig": "5.
|
|
34
|
-
"@lvce-editor/eslint-plugin-github-actions": "5.
|
|
34
|
+
"@lvce-editor/eslint-plugin-tsconfig": "5.2.0",
|
|
35
|
+
"@lvce-editor/eslint-plugin-github-actions": "5.2.0"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
37
38
|
"eslint": ">= 9"
|