You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- ESLint v9 and flat config support is not ready yet. Even if you use legacy .eslintrc.\*, it does not work on v9. Sorry! :pray:
11
-
- Node.js v{16, 18, 20}
12
-
- While not officially supported, also tested on v14 and v21. v14 support will be dropped on next major release. v21 support will be dropped when it reaches EOL and without major update of eslint-plugin-editorconfig.
if [[ "${PKGDIR}"="${TMP}/test-packages/failure/missing-ts-eslint" ]];then
32
-
# skip if Node.js version == 14.x
33
-
if [[ -n"$(node --version | grep '^v14\.')" ]];then
34
-
continue
35
-
fi
36
-
37
-
if [[ -z"$((npm run lint 2>&1) | grep "eslint-plugin-editorconfig requires typescript and @typescript-eslint/eslint-plugin to lint \*.ts files. Run \`npm install typescript @typescript-eslint/eslint-plugin\`.")" ]]; then
38
-
echo "Error message is not shown properly when @typescript-eslint/eslint-plugin is missing" >&2
39
-
echo "ESLint's error message:"
40
-
npm run lint
41
-
exit 1
42
-
fi
23
+
forPKGDIRin$(find "${TMP}/test-packages/success/" -maxdepth 1 -type d ! -path "${TMP}/test-packages/success/");do
if [[ "${PKGDIR}"="${TMP}/test-packages/failure/missing-ts-eslint" ]];then
36
+
# skip if Node.js version == 14.x
37
+
if [[ -n"$(node --version | grep '^v14\.')" ]];then
38
+
continue
39
+
fi
40
+
41
+
if [[ -z"$((npm run lint 2>&1) | grep "eslint-plugin-editorconfig requires typescript and @typescript-eslint/eslint-plugin to lint \*.ts files. Run \`npm install typescript @typescript-eslint/eslint-plugin\`.")" ]]; then
42
+
echo "Error message is not shown properly when @typescript-eslint/eslint-plugin is missing" >&2
0 commit comments