Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit 1ab3f99

Browse files
committed
style(web): run prettier
1 parent ceb561d commit 1ab3f99

File tree

12 files changed

+4931
-4933
lines changed

12 files changed

+4931
-4933
lines changed

web/.eslintrc.json

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
{
2-
"parser": "@typescript-eslint/parser",
3-
"parserOptions": {
4-
"project": "**/tsconfig.json",
5-
"tsconfigRootDir": "__dirname",
6-
"sourceType": "module"
7-
},
8-
"plugins": ["@typescript-eslint", "eslint-plugin-import-helpers", "prettier"],
9-
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended", "prettier"],
10-
"rules": {
11-
"prettier/prettier": "error",
12-
"@typescript-eslint/no-unused-vars": "error",
13-
"@typescript-eslint/no-explicit-any": "error",
14-
"react/no-unescaped-entities": "off",
15-
"no-console": "error",
16-
"@typescript-eslint/ban-ts-comment": "off",
17-
"import-helpers/order-imports": [
18-
"error",
19-
{
20-
"newlinesBetween": "never",
21-
"groups": [
22-
"/^react$/",
23-
"/next/",
24-
"module",
25-
"/@components/",
26-
"/@helpers/",
27-
"/@hooks/",
28-
"/types/",
29-
"/module.scss/",
30-
"/public/",
31-
["parent", "sibling", "index"]
32-
],
33-
"alphabetize": { "order": "desc", "ignoreCase": true }
34-
}
35-
]
36-
}
2+
"parser": "@typescript-eslint/parser",
3+
"parserOptions": {
4+
"project": "**/tsconfig.json",
5+
"tsconfigRootDir": "__dirname",
6+
"sourceType": "module"
7+
},
8+
"plugins": ["@typescript-eslint", "eslint-plugin-import-helpers", "prettier"],
9+
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended", "prettier"],
10+
"rules": {
11+
"prettier/prettier": "error",
12+
"@typescript-eslint/no-unused-vars": "error",
13+
"@typescript-eslint/no-explicit-any": "error",
14+
"react/no-unescaped-entities": "off",
15+
"no-console": "error",
16+
"@typescript-eslint/ban-ts-comment": "off",
17+
"import-helpers/order-imports": [
18+
"error",
19+
{
20+
"newlinesBetween": "never",
21+
"groups": [
22+
"/^react$/",
23+
"/next/",
24+
"module",
25+
"/@components/",
26+
"/@helpers/",
27+
"/@hooks/",
28+
"/types/",
29+
"/module.scss/",
30+
"/public/",
31+
["parent", "sibling", "index"]
32+
],
33+
"alphabetize": { "order": "desc", "ignoreCase": true }
34+
}
35+
]
36+
}
3737
}

web/.prettierrc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"useTabs": true,
3-
"tabWidth": 2,
4-
"singleQuote": false,
5-
"printWidth": 160,
6-
"bracketSpacing": true,
7-
"arrowParens": "avoid",
8-
"trailingComma": "es5",
9-
"semi": true
2+
"useTabs": true,
3+
"tabWidth": 2,
4+
"singleQuote": false,
5+
"printWidth": 160,
6+
"bracketSpacing": true,
7+
"arrowParens": "avoid",
8+
"trailingComma": "es5",
9+
"semi": true
1010
}

web/next.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3-
webpackDevMiddleware: (config) => {
4-
config.watchOptions = {
5-
poll: 1000,
6-
aggregateTimeout: 300,
7-
};
8-
return config;
9-
},
3+
webpackDevMiddleware: config => {
4+
config.watchOptions = {
5+
poll: 1000,
6+
aggregateTimeout: 300,
7+
};
8+
return config;
9+
},
1010
};
1111

1212
module.exports = nextConfig;

0 commit comments

Comments
 (0)