feat(build): add fmt/lint/test tasks
This commit is contained in:
21
frontend/eslint.config.js
Normal file
21
frontend/eslint.config.js
Normal file
@@ -0,0 +1,21 @@
|
||||
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",
|
||||
},
|
||||
},
|
||||
]);
|
||||
Reference in New Issue
Block a user