fix: only lint at /src
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@ import tseslint from "typescript-eslint";
|
|||||||
import { defineConfig } from "eslint/config";
|
import { defineConfig } from "eslint/config";
|
||||||
|
|
||||||
export default defineConfig([
|
export default defineConfig([
|
||||||
{ files: ["**/*.{js,mjs,cjs,ts,mts,cts}"], plugins: { js }, extends: ["js/recommended"], languageOptions: { globals: globals.browser } },
|
{ files: ["src/*.{js,mjs,cjs,ts,mts,cts}"], plugins: { js }, extends: ["js/recommended"], languageOptions: { globals: globals.browser } },
|
||||||
tseslint.configs.recommended,
|
tseslint.configs.recommended,
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user