diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 913cdba..0000000 --- a/.eslintrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": ["next", "next/core-web-vitals", "prettier"] -} diff --git a/.prettierrc.js b/.prettierrc.js deleted file mode 100644 index 77ab421..0000000 --- a/.prettierrc.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports = { - printWidth: 120, - arrowParens: "avoid", - singleQuote: true, - semi: false, - plugins: [ - require('prettier-plugin-tailwindcss') - ] -} diff --git a/package.json b/package.json index d566c44..16e5e4b 100644 --- a/package.json +++ b/package.json @@ -74,5 +74,21 @@ "prettier-plugin-tailwindcss": "^0.2.2", "tailwindcss": "^3.2.4", "typescript": "4.9.4" + }, + "prettier": { + "printWidth": 120, + "arrowParens": "avoid", + "singleQuote": true, + "semi": false, + "plugins": [ + "prettier-plugin-tailwindcss" + ] + }, + "eslintConfig": { + "extends": [ + "next", + "next/core-web-vitals", + "prettier" + ] } } diff --git a/src/components/FolderGridLayout.tsx b/src/components/FolderGridLayout.tsx index 784e8d1..98d7647 100644 --- a/src/components/FolderGridLayout.tsx +++ b/src/components/FolderGridLayout.tsx @@ -77,7 +77,7 @@ const FolderGridLayout = ({ const getItemPath = (name: string) => `${path === '/' ? '' : path}/${encodeURIComponent(name)}` return ( -