build: use buildFromOxlintConfigFile
in eslint config
#120
Annotations
10 errors
lint:
scripts/generate.ts#L16
Use `for…of` instead of `.forEach(…)`
|
lint:
scripts/rules-generator.ts#L65
Prefer `String#replaceAll()` over `String#replace()`
|
lint:
scripts/rules-generator.ts#L74
Prefer `String#replaceAll()` over `String#replace()`
|
lint:
scripts/traverse-rules.ts#L79
Prefer `String#replaceAll()` over `String#replace()`
|
lint:
scripts/traverse-rules.ts#L105
Prefer `String#replaceAll()` over `String#replace()`
|
lint:
src/build-from-oxlint-config.spec.ts#L14
Use `for…of` instead of `.forEach(…)`
|
lint:
src/build-from-oxlint-config.spec.ts#L31
Use `for…of` instead of `.forEach(…)`
|
lint:
src/build-from-oxlint-config.spec.ts#L45
Use `for…of` instead of `.forEach(…)`
|
lint:
src/build-from-oxlint-config.spec.ts#L206
Use `for…of` instead of `.forEach(…)`
|
lint:
src/build-from-oxlint-config.spec.ts#L227
Do not use useless `undefined`
|