mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
c52978d7ca
* chore: Update eslint to v9 with flat config * disable eslint for that whole example file. v1 not worth it imo * update ts-eslint * lock versions * ci: update pnpm
27 lines
600 B
JavaScript
27 lines
600 B
JavaScript
import eslint from "@eslint/js";
|
|
import eslintConfigPrettier from "eslint-config-prettier";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default tseslint.config(
|
|
{
|
|
ignores: [
|
|
"**/target",
|
|
"**/node_modules",
|
|
"**/dist",
|
|
"**/dist-js",
|
|
"**/rollup.config.mjs",
|
|
"**/vite.config.ts",
|
|
".scripts",
|
|
"eslint.config.js",
|
|
],
|
|
},
|
|
eslint.configs.recommended,
|
|
eslintConfigPrettier,
|
|
...tseslint.configs.recommendedTypeChecked,
|
|
{
|
|
languageOptions: {
|
|
parserOptions: { project: true, tsconfigRootDir: import.meta.dirname },
|
|
},
|
|
},
|
|
);
|