@lvce-editor/eslint-config 6.2.0 → 7.0.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.
Files changed (2) hide show
  1. package/index.js +24 -0
  2. package/package.json +11 -10
package/index.js CHANGED
@@ -8,6 +8,7 @@ import perfectionist from 'eslint-plugin-perfectionist'
8
8
  import eslintPluginUnicorn from 'eslint-plugin-unicorn'
9
9
  import eslintPluginYml from 'eslint-plugin-yml'
10
10
  import tseslint from 'typescript-eslint'
11
+ import e18e from '@e18e/eslint-plugin'
11
12
  import * as tsconfigPlugin from '@lvce-editor/eslint-plugin-tsconfig'
12
13
  import * as actionsPlugin from '@lvce-editor/eslint-plugin-github-actions'
13
14
  import * as regexPlugin from '@lvce-editor/eslint-plugin-regex'
@@ -34,11 +35,16 @@ const defaultConfig = tseslint.config(
34
35
  'ignoreawait',
35
36
  'appname',
36
37
  'asar',
38
+ 'testdir',
39
+ 'iselectron',
40
+ 'quickpick',
37
41
  'Backquote',
38
42
  'checkmark',
39
43
  'codellama',
44
+ 'Wacher',
40
45
  'commitish',
41
46
  'computedlanguage',
47
+ 'uncollapse',
42
48
  'confirmdelete',
43
49
  'confirmdelete',
44
50
  'ABNT',
@@ -154,6 +160,15 @@ const defaultConfig = tseslint.config(
154
160
  'Whenexpression',
155
161
  'workspaceunsupported',
156
162
  'workspaceuri',
163
+ 'Previou',
164
+ 'helo',
165
+ 'existings',
166
+ 'hellopasted',
167
+ 'oldreplacement',
168
+ 'tsjs',
169
+ 'Oneresult',
170
+ 'occurrance',
171
+ 'renable',
157
172
  'xclip',
158
173
  'Xsel',
159
174
  'αρχείο',
@@ -231,9 +246,11 @@ const defaultConfig = tseslint.config(
231
246
  { from: 'lib', name: 'FileSystemFileHandle' },
232
247
  { from: 'lib', name: 'FileSystemHandle' },
233
248
  { from: 'lib', name: 'MessagePort' },
249
+ { from: 'lib', name: 'Readable' },
234
250
  { from: 'lib', name: 'RegExp' },
235
251
  { from: 'lib', name: 'RequestInfo' },
236
252
  { from: 'lib', name: 'Response' },
253
+ { from: 'lib', name: 'Socket' },
237
254
  { from: 'lib', name: 'Uint32Array' },
238
255
  { from: 'lib', name: 'Uint8Array' },
239
256
  { from: 'lib', name: 'URL' },
@@ -364,6 +381,13 @@ const defaultConfig = tseslint.config(
364
381
  },
365
382
  },
366
383
  ...markdown.configs.recommended,
384
+ // @ts-ignore
385
+ e18e.configs.recommended,
386
+ {
387
+ rules: {
388
+ 'e18e/prefer-static-regex': 'off',
389
+ },
390
+ },
367
391
  )
368
392
 
369
393
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/eslint-config",
3
- "version": "6.2.0",
3
+ "version": "7.0.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",
@@ -20,20 +20,21 @@
20
20
  "description": "",
21
21
  "dependencies": {
22
22
  "@cspell/eslint-plugin": "9.6.4",
23
+ "@e18e/eslint-plugin": "^0.2.0",
23
24
  "@eslint/css": "0.14.1",
24
25
  "@eslint/js": "9.32.0",
25
26
  "@eslint/json": "1.0.1",
26
27
  "@eslint/markdown": "7.5.1",
27
- "eslint-plugin-jest": "29.14.0",
28
- "eslint-plugin-n": "17.23.2",
29
- "eslint-plugin-package-json": "0.88.2",
30
- "eslint-plugin-perfectionist": "5.5.0",
28
+ "eslint-plugin-jest": "29.15.0",
29
+ "eslint-plugin-n": "17.24.0",
30
+ "eslint-plugin-package-json": "0.88.3",
31
+ "eslint-plugin-perfectionist": "5.6.0",
31
32
  "eslint-plugin-unicorn": "63.0.0",
32
- "eslint-plugin-yml": "3.1.2",
33
- "typescript-eslint": "8.55.0",
34
- "@lvce-editor/eslint-plugin-tsconfig": "6.2.0",
35
- "@lvce-editor/eslint-plugin-github-actions": "6.2.0",
36
- "@lvce-editor/eslint-plugin-regex": "6.2.0"
33
+ "eslint-plugin-yml": "3.2.1",
34
+ "typescript-eslint": "8.56.0",
35
+ "@lvce-editor/eslint-plugin-tsconfig": "7.0.0",
36
+ "@lvce-editor/eslint-plugin-github-actions": "7.0.0",
37
+ "@lvce-editor/eslint-plugin-regex": "7.0.0"
37
38
  },
38
39
  "peerDependencies": {
39
40
  "eslint": "^9"