Skip to content

Commit 711f2f7

Browse files
committed
Run eslint on everything except generated code
1 parent 7a39f1c commit 711f2f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eslint.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from "eslint/config";
1+
import { defineConfig, globalIgnores } from "eslint/config";
22
import typescriptEslint from "@typescript-eslint/eslint-plugin";
33
import prettier from "eslint-plugin-prettier";
44
import globals from "globals";
@@ -16,7 +16,7 @@ const compat = new FlatCompat({
1616
allConfig: js.configs.all
1717
});
1818

19-
export default defineConfig([{
19+
export default defineConfig([globalIgnores(["test/generated/", "test/resources/", "dist/"]), {
2020
extends: compat.extends("eslint:recommended", "plugin:@typescript-eslint/recommended"),
2121

2222
plugins: {

0 commit comments

Comments
 (0)