22 lines
558 B
JavaScript
22 lines
558 B
JavaScript
import { defineConfig } from "eslint/config";
|
|
import js from "@eslint/js";
|
|
|
|
export default defineConfig([
|
|
{
|
|
files: ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx"], // Adjust file patterns as needed
|
|
ignores: ["dist/**"],
|
|
plugins: {
|
|
js,
|
|
},
|
|
extends: [
|
|
js.configs.recommended, // Basic recommended rules
|
|
// Add other configurations or plugins here (e.g., 'plugin:react/recommended')
|
|
],
|
|
rules: {
|
|
// Customize or add specific rules here
|
|
"no-unused-vars": "warn",
|
|
"no-undef": "warn",
|
|
},
|
|
},
|
|
]);
|