40867dc073
- eslint.config.js: add ignores pattern for src/**/*.js (ESLint 9+ format) - .eslintignore: added for backward compatibility warning suppression - Appointments.test.tsx: remove unused Appointment import Co-Authored-By: Paperclip <noreply@paperclip.ing>
19 lines
412 B
JavaScript
19 lines
412 B
JavaScript
import tseslint from "typescript-eslint";
|
|
|
|
export default tseslint.config(
|
|
{
|
|
ignores: [
|
|
// Untracked .js files containing JSX (build artifacts)
|
|
"src/**/*.js",
|
|
"src/**/*.jsx",
|
|
],
|
|
},
|
|
...tseslint.configs.recommended,
|
|
{
|
|
rules: {
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
|
|
},
|
|
}
|
|
);
|