Skip to content

Commit

Permalink
ci: ignore API client in ESLint config (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens authored Jan 21, 2025
1 parent cb51675 commit d146a62
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions frontend-v2/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import js from '@eslint/js';
import prettier from 'eslint-config-prettier';
import reactRecommended from 'eslint-plugin-react/configs/recommended.js';
import reactJSXRuntime from 'eslint-plugin-react/configs/jsx-runtime.js';
import reactHooks from 'eslint-plugin-react-hooks';
import typescript from 'typescript-eslint';
import pluginJsxA11y from 'eslint-plugin-jsx-a11y';
import js from "@eslint/js";
import prettier from "eslint-config-prettier";
import reactRecommended from "eslint-plugin-react/configs/recommended.js";
import reactJSXRuntime from "eslint-plugin-react/configs/jsx-runtime.js";
import reactHooks from "eslint-plugin-react-hooks";
import typescript from "typescript-eslint";
import pluginJsxA11y from "eslint-plugin-jsx-a11y";

export default [
js.configs.recommended,
Expand All @@ -14,14 +14,17 @@ export default [
prettier,
{
plugins: {
'jsx-a11y': pluginJsxA11y,
'react-hooks': reactHooks,
"jsx-a11y": pluginJsxA11y,
"react-hooks": reactHooks,
},
rules: pluginJsxA11y.configs.recommended.rules,
settings: {
react: {
version: "detect"
}
}
}
]
version: "detect",
},
},
},
{
ignores: ["src/app/api.ts", "src/app/backendApi.ts"],
},
];

0 comments on commit d146a62

Please sign in to comment.