This commit is contained in:
Manav Rathi 2024-11-19 19:12:22 +05:30
parent db5049b801
commit 2bde3fb0d7
No known key found for this signature in database
5 changed files with 10 additions and 25 deletions

View File

@ -1 +1 @@
export { default } from "@/build-config/eslintrc-vite.mjs";
export { default } from "@/build-config/eslintrc-react.mjs";

View File

@ -1,5 +0,0 @@
// /* eslint-env node */
// module.exports = {
// extends: ["./eslintrc-react.js"],
// ignorePatterns: [".eslintrc.js", "next.config.js", "out"],
// };

View File

@ -33,17 +33,17 @@ export default [
],
},
},
{
ignores: [
// Next.js
"out",
// Vite
"dist",
],
},
];
// /* eslint-env node */
// module.exports = {
// extends: [
// "./eslintrc-base.js",
// "plugin:react/recommended",
// "plugin:react-hooks/recommended",
// ],
// plugins: ["react-refresh"],
// settings: { react: { version: "18.2" } },
// rules: {
// /* The rule is misguided - only the opener should be omitted, not the
// referrer. */

View File

@ -1,9 +0,0 @@
import config from "./eslintrc-react.mjs";
export default config;
// /* eslint-env node */
// module.exports = {
// extends: ["./eslintrc-react.js", "plugin:react/jsx-runtime"],
// ignorePatterns: [".eslintrc.cjs", "vite.config.ts", "dist"],
// };

View File

@ -1,6 +1,5 @@
{
/* A minimal tsconfig so that we can run tsc on the build-config package
itself */
/* A minimal tsconfig so that we can run tsc on the build-config itself. */
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "bundler",