Support flat config and upgrade eslint to v9 #1324
Annotations
21 errors and 4 warnings
|
build (20):
lib/configs/flat/typescript.js#L1
Replace `·FlatCompat·` with `FlatCompat`
|
build (20):
lib/configs/flat/typescript.js#L3
Replace `·resolvePluginsRelativeTo:·__dirname·` with `resolvePluginsRelativeTo:·__dirname`
|
|
build (20):
lib/configs/flat/typescript.js#L31
Prefer for...of instead of Array.forEach
|
build (20):
lib/configs/flat/typescript.js#L33
Replace `·...mergedConfig.languageOptions,·...obj.languageOptions·` with `...mergedConfig.languageOptions,·...obj.languageOptions`
|
build (20):
lib/configs/flat/typescript.js#L34
Replace `·...mergedConfig.plugins,·...obj.plugins·` with `...mergedConfig.plugins,·...obj.plugins`
|
build (20):
lib/configs/flat/typescript.js#L35
Replace `·...mergedConfig.rules,·...obj.rules·` with `...mergedConfig.rules,·...obj.rules`
|
|
build (20):
lib/index.js#L18
Insert `,`
|
build (22)
The job was canceled because "_20" failed.
|
|
build (22):
lib/configs/flat/typescript.js#L1
Replace `·FlatCompat·` with `FlatCompat`
|
build (22):
lib/configs/flat/typescript.js#L3
Replace `·resolvePluginsRelativeTo:·__dirname·` with `resolvePluginsRelativeTo:·__dirname`
|
|
build (22):
lib/configs/flat/typescript.js#L31
Prefer for...of instead of Array.forEach
|
build (22):
lib/configs/flat/typescript.js#L33
Replace `·...mergedConfig.languageOptions,·...obj.languageOptions·` with `...mergedConfig.languageOptions,·...obj.languageOptions`
|
build (22):
lib/configs/flat/typescript.js#L34
Replace `·...mergedConfig.plugins,·...obj.plugins·` with `...mergedConfig.plugins,·...obj.plugins`
|
build (22):
lib/configs/flat/typescript.js#L35
Replace `·...mergedConfig.rules,·...obj.rules·` with `...mergedConfig.rules,·...obj.rules`
|
|
build (22):
lib/index.js#L18
Insert `,`
|
build (20):
test-examples/legacy/src/asyncPreventDefaultTest.js#L6
Prefer textContent to innerText
|
build (20):
test-examples/legacy/src/noBlur.js#L7
Do not use element.blur(), instead restore the focus of a previous element
|
build (22):
test-examples/legacy/src/asyncPreventDefaultTest.js#L6
Prefer textContent to innerText
|
build (22):
test-examples/legacy/src/noBlur.js#L7
Do not use element.blur(), instead restore the focus of a previous element
|