Skip to content

Commit

Permalink
Update eslint.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeininger authored May 21, 2024
1 parent 1a3c612 commit b29dd2e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import js from "@eslint/js";
import globals from "globals";
import react from "eslint-plugin-react";
import reactRecommended from "eslint-plugin-react/configs/recommended.js";
import vitest from "eslint-plugin-vitest";
import vitestGlobals from "eslint-plugin-vitest-globals";
Expand All @@ -9,15 +11,16 @@ export default [
reactRecommended,
{
files: [
"oereb_client/**/*.js",
"test/**/*.js"
"oereb_client/**/*.{js,jsx,mjs,cjs,ts,tsx}",
"test/**/*.{js,jsx,mjs,cjs,ts,tsx}"
],
ignores: [
"test/js/**/assets/**/*.js"
],
plugins: {
vitest: vitest,
vitestGlobals,
react: react,
"simple-import-sort": simpleImportSort
},
languageOptions: {
Expand All @@ -28,6 +31,7 @@ export default [
}
},
globals: {
...globals.browser,
...vitest.environments.env.globals,
...vitestGlobals.environments.env.globals,
proj4: "readonly",
Expand Down

0 comments on commit b29dd2e

Please sign in to comment.