@lvce-editor/eslint-config 1.65.0 → 1.67.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 +5 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -103,6 +103,10 @@ const defaultConfig = tseslint.config(
|
|
|
103
103
|
{ from: 'lib', name: 'FileList' },
|
|
104
104
|
{ from: 'lib', name: 'Response' },
|
|
105
105
|
{ from: 'lib', name: 'Error' },
|
|
106
|
+
{ from: 'lib', name: 'File' },
|
|
107
|
+
{ from: 'lib', name: 'FileSystemDirectoryHandle' },
|
|
108
|
+
{ from: 'lib', name: 'FileSystemHandle' },
|
|
109
|
+
{ from: 'lib', name: 'FileSystemFileHandle' },
|
|
106
110
|
{ from: 'package', name: 'MessagePortMain', package: 'electron' },
|
|
107
111
|
{ from: 'package', name: 'Socket', package: 'node:net' },
|
|
108
112
|
{ from: 'package', name: 'Dirent', package: 'node:fs' },
|
|
@@ -156,6 +160,7 @@ const defaultConfig = tseslint.config(
|
|
|
156
160
|
message: 'Dont use Promise resolve.',
|
|
157
161
|
},
|
|
158
162
|
],
|
|
163
|
+
'@typescript-eslint/unbound-method': 'off',
|
|
159
164
|
},
|
|
160
165
|
},
|
|
161
166
|
{
|