mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-10 02:04:38 +00:00
revert eslint config
This commit is contained in:
parent
b9bf9e9bd8
commit
5bc65da8e3
2 changed files with 3 additions and 16 deletions
3
.eslintrc.json
Normal file
3
.eslintrc.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"extends": ["next/core-web-vitals"]
|
||||||
|
}
|
|
@ -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",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
]);
|
|
Loading…
Add table
Reference in a new issue