Skip to content

Commit c7a91de

Browse files
committed
format frontend
1 parent d6504c0 commit c7a91de

File tree

5 files changed

+37
-40
lines changed

5 files changed

+37
-40
lines changed

frontend/.prettierrc.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"jsxSingleQuote": true,
3-
"singleQuote": true,
4-
"semi": false,
5-
"tabWidth": 2,
6-
"trailingComma": "all",
7-
"printWidth": 100,
8-
"bracketSpacing": true
2+
"jsxSingleQuote": true,
3+
"singleQuote": true,
4+
"semi": false,
5+
"tabWidth": 2,
6+
"trailingComma": "all",
7+
"printWidth": 100,
8+
"bracketSpacing": true
99
}

frontend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This directory contains the frontend application. It is built with [React](https
44

55
## Requirements
66

7-
* [Node.js](https://nodejs.org/en/) for javascript execution and `npm` for package management.
7+
- [Node.js](https://nodejs.org/en/) for javascript execution and `npm` for package management.
88

99
## Install
1010

frontend/eslint.config.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import globals from 'globals'
33
import reactHooks from 'eslint-plugin-react-hooks'
44
import reactRefresh from 'eslint-plugin-react-refresh'
55
import tseslint from 'typescript-eslint'
6-
import eslintConfigPrettier from "eslint-config-prettier";
6+
import eslintConfigPrettier from 'eslint-config-prettier'
77

88
export default tseslint.config(
99
{ ignores: ['dist'] },
@@ -20,10 +20,7 @@ export default tseslint.config(
2020
},
2121
rules: {
2222
...reactHooks.configs.recommended.rules,
23-
'react-refresh/only-export-components': [
24-
'warn',
25-
{ allowConstantExport: true },
26-
],
23+
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
2724
},
2825
},
2926
eslintConfigPrettier,

frontend/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

frontend/tsconfig.app.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2020",
4-
"useDefineForClassFields": true,
5-
"lib": [
6-
"ES2020",
7-
"DOM",
8-
"DOM.Iterable"
9-
],
10-
"module": "ESNext",
11-
"skipLibCheck": true,
12-
/* Bundler mode */
13-
"moduleResolution": "bundler",
14-
"allowImportingTsExtensions": true,
15-
"isolatedModules": true,
16-
"moduleDetection": "force",
17-
"noEmit": true,
18-
"jsx": "react-jsx",
19-
/* Linting */
20-
"strict": true,
21-
"noUnusedLocals": true,
22-
"noUnusedParameters": true,
23-
"noFallthroughCasesInSwitch": true
24-
},
25-
"include": [
26-
"src"
27-
]
2+
"compilerOptions": {
3+
"target": "ES2020",
4+
"useDefineForClassFields": true,
5+
"lib": [
6+
"ES2020",
7+
"DOM",
8+
"DOM.Iterable"
9+
],
10+
"module": "ESNext",
11+
"skipLibCheck": true,
12+
/* Bundler mode */
13+
"moduleResolution": "bundler",
14+
"allowImportingTsExtensions": true,
15+
"isolatedModules": true,
16+
"moduleDetection": "force",
17+
"noEmit": true,
18+
"jsx": "react-jsx",
19+
/* Linting */
20+
"strict": true,
21+
"noUnusedLocals": true,
22+
"noUnusedParameters": true,
23+
"noFallthroughCasesInSwitch": true
24+
},
25+
"include": [
26+
"src"
27+
]
2828
}

0 commit comments

Comments
 (0)