Compare commits
3 Commits
ea815ff96c
...
a123013b51
| Author | SHA1 | Date | |
|---|---|---|---|
| a123013b51 | |||
| 4da0388c27 | |||
| e8ab0a2970 |
Binary file not shown.
35
susconecta/eslint.config.js
Normal file
35
susconecta/eslint.config.js
Normal file
@ -0,0 +1,35 @@
|
||||
// eslint.config.js
|
||||
import globals from "globals";
|
||||
import tseslint from "typescript-eslint";
|
||||
import eslint from "@eslint/js";
|
||||
import nextPlugin from "@next/eslint-plugin-next";
|
||||
import unicornPlugin from "eslint-plugin-unicorn";
|
||||
import prettierConfig from "eslint-config-prettier";
|
||||
|
||||
export default [
|
||||
eslint.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"],
|
||||
plugins: {
|
||||
"@next/next": nextPlugin,
|
||||
"unicorn": unicornPlugin,
|
||||
},
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.browser,
|
||||
...globals.node,
|
||||
},
|
||||
parser: tseslint.parser,
|
||||
parserOptions: {
|
||||
project: "./tsconfig.json",
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
...nextPlugin.configs.recommended.rules,
|
||||
...nextPlugin.configs["core-web-vitals"].rules,
|
||||
...unicornPlugin.configs.recommended.rules,
|
||||
}
|
||||
},
|
||||
prettierConfig,
|
||||
];
|
||||
5458
susconecta/package-lock.json
generated
5458
susconecta/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -53,7 +53,6 @@
|
||||
"input-otp": "latest",
|
||||
"jspdf": "^3.0.3",
|
||||
"lucide-react": "^0.454.0",
|
||||
"next": "14.2.16",
|
||||
"next-themes": "latest",
|
||||
"react": "^18",
|
||||
"react-day-picker": "latest",
|
||||
@ -74,6 +73,13 @@
|
||||
"@types/node": "^22",
|
||||
"@types/react": "^18",
|
||||
"@types/react-dom": "^18",
|
||||
"@typescript-eslint/eslint-plugin": "^8.45.0",
|
||||
"@typescript-eslint/parser": "^8.45.0",
|
||||
"eslint": "^9.36.0",
|
||||
"eslint-config-next": "^15.5.4",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-unicorn": "^61.0.2",
|
||||
"next": "^15.5.4",
|
||||
"postcss": "^8.5",
|
||||
"tailwindcss": "^4.1.9",
|
||||
"tw-animate-css": "1.3.3",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user