revert eslint config

This commit is contained in:
Kentai Radiquum 2025-04-06 17:18:54 +05:00
parent b9bf9e9bd8
commit 5bc65da8e3
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
2 changed files with 3 additions and 16 deletions

3
.eslintrc.json Normal file
View file

@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals"]
}

View file

@ -1,16 +0,0 @@
const reactRefresh = require("eslint-plugin-react-refresh");
const { defineConfig } = require("eslint/config");
module.exports = defineConfig([
{
extends: ["next/core-web-vitals"],
plugins: {
"react-refresh": reactRefresh,
},
rules: {
semi: "error",
"prefer-const": "error",
"react-refresh/only-export-components": "warn",
},
},
]);