@lvce-editor/eslint-config 18.14.2 → 18.15.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 +16 -0
- package/index.js +2 -0
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
> ESLint configuration for LVCE Editor
|
|
4
4
|
|
|
5
|
+
Explore the full LVCE Editor IDE at <https://lvce-editor.github.io/eslint-config/>.
|
|
6
|
+
The statically hosted editor runs directly in your browser without a development server.
|
|
7
|
+
|
|
8
|
+
## Quick-pick CSS linting
|
|
9
|
+
|
|
10
|
+
Projects that lint quick-pick stylesheets can add `recommendedQuickPickCss` to their
|
|
11
|
+
flat config. It enables CSS parsing and reports `contain: strict` on `.QuickPickItem`
|
|
12
|
+
selectors, where strict containment increased paint events in the LVCE quick-pick
|
|
13
|
+
benchmark. Other selectors can still use strict containment.
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
import * as config from '@lvce-editor/eslint-config'
|
|
17
|
+
|
|
18
|
+
export default [...config.default, ...config.recommendedQuickPickCss]
|
|
19
|
+
```
|
|
20
|
+
|
|
5
21
|
## Dependency restrictions
|
|
6
22
|
|
|
7
23
|
The shared configuration and virtual DOM presets enable
|
package/index.js
CHANGED
|
@@ -563,4 +563,6 @@ export const recommendedRpc = [...rpcPlugin.default]
|
|
|
563
563
|
|
|
564
564
|
export const recommendedEslintConfig = [...eslintConfigPlugin.default]
|
|
565
565
|
|
|
566
|
+
export const recommendedQuickPickCss = [...eslintConfigPlugin.recommendedQuickPickCss]
|
|
567
|
+
|
|
566
568
|
export default defaultConfig
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.15.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"eslint-plugin-unicorn": "71.1.0",
|
|
36
36
|
"eslint-plugin-yml": "3.6.0",
|
|
37
37
|
"typescript-eslint": "8.63.0",
|
|
38
|
-
"@lvce-editor/eslint-plugin-eslint-config": "18.
|
|
39
|
-
"@lvce-editor/eslint-plugin-tsconfig": "18.
|
|
40
|
-
"@lvce-editor/eslint-plugin-github-actions": "18.
|
|
41
|
-
"@lvce-editor/eslint-plugin-nvmrc": "18.
|
|
42
|
-
"@lvce-editor/eslint-plugin-regex": "18.
|
|
43
|
-
"@lvce-editor/eslint-plugin-virtual-dom": "18.
|
|
44
|
-
"@lvce-editor/eslint-plugin-e2e": "18.
|
|
45
|
-
"@lvce-editor/eslint-plugin-devcontainer": "18.
|
|
46
|
-
"@lvce-editor/eslint-plugin-extension-json": "18.
|
|
47
|
-
"@lvce-editor/eslint-plugin-rpc": "18.
|
|
38
|
+
"@lvce-editor/eslint-plugin-eslint-config": "18.15.1",
|
|
39
|
+
"@lvce-editor/eslint-plugin-tsconfig": "18.15.1",
|
|
40
|
+
"@lvce-editor/eslint-plugin-github-actions": "18.15.1",
|
|
41
|
+
"@lvce-editor/eslint-plugin-nvmrc": "18.15.1",
|
|
42
|
+
"@lvce-editor/eslint-plugin-regex": "18.15.1",
|
|
43
|
+
"@lvce-editor/eslint-plugin-virtual-dom": "18.15.1",
|
|
44
|
+
"@lvce-editor/eslint-plugin-e2e": "18.15.1",
|
|
45
|
+
"@lvce-editor/eslint-plugin-devcontainer": "18.15.1",
|
|
46
|
+
"@lvce-editor/eslint-plugin-extension-json": "18.15.1",
|
|
47
|
+
"@lvce-editor/eslint-plugin-rpc": "18.15.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"eslint": ">=10.0.0 <11.0.0-0"
|