Skip to content

Commit

Permalink
Merge pull request #186 from hamster1963/pr-dev
Browse files Browse the repository at this point in the history
test: auto lint
  • Loading branch information
hamster1963 authored Dec 13, 2024
2 parents 533d73c + f6e0654 commit 406b7ef
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 34 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": ["next/core-web-vitals", "next/typescript"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@next/next/no-img-element": "off",
"react-hooks/exhaustive-deps": "off"
}
}
12 changes: 12 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"semi": false,
"singleQuote": false,
"printWidth": 100,
"tabWidth": 2,
"trailingComma": "all",
"importOrder": ["^@core/(.*)$", "^@server/(.*)$", "^@ui/(.*)$", "^[./]"],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"endOfLine": "auto",
"plugins": ["prettier-plugin-tailwindcss", "@trivago/prettier-plugin-sort-imports"]
}
12 changes: 0 additions & 12 deletions .prettierrc.mjs

This file was deleted.

Binary file modified bun.lockb
Binary file not shown.
20 changes: 0 additions & 20 deletions eslint.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"scripts": {
"dev": "next dev -p 3040",
"start": "node .next/standalone/server.js",
"lint": "eslint",
"lint:fix": "eslint --fix",
"lint": "next lint",
"lint:fix": "next lint --fix",
"format": "prettier --write .",
"build": "next build && cp -r .next/static .next/standalone/.next/ && cp -r public .next/standalone/",
"build-dev": "next build",
Expand Down

0 comments on commit 406b7ef

Please sign in to comment.