- RouteMap.tsx referenced undefined MapLibreRN namespace, causing typecheck to fail on main and in every downstream PR - metro.config.js is CommonJS, exclude from ESLint flat config Changes that were pushed directly to main earlier bypassed CI and broke both typecheck and lint. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
540 B
JavaScript
18 lines
540 B
JavaScript
import js from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
import prettier from "eslint-config-prettier";
|
|
|
|
export default tseslint.config(
|
|
{ ignores: ["**/build/", "**/dist/", "**/.react-router/", "**/.expo/", "**/node_modules/", "**/metro.config.js"] },
|
|
js.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_", caughtErrorsIgnorePattern: "^_" },
|
|
],
|
|
},
|
|
},
|
|
prettier,
|
|
);
|