mirror of
https://github.com/usatiuk/y.git
synced 2025-10-28 18:37:47 +01:00
add eslint
This commit is contained in:
21
client/.eslintrc.json
Normal file
21
client/.eslintrc.json
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"env": {
|
||||||
|
"browser": true,
|
||||||
|
"es2021": true
|
||||||
|
},
|
||||||
|
"extends": [
|
||||||
|
"eslint:recommended",
|
||||||
|
"plugin:@typescript-eslint/recommended",
|
||||||
|
"plugin:react/jsx-runtime",
|
||||||
|
"prettier"
|
||||||
|
],
|
||||||
|
"parser": "@typescript-eslint/parser",
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": "latest",
|
||||||
|
"sourceType": "module"
|
||||||
|
},
|
||||||
|
"plugins": [
|
||||||
|
"@typescript-eslint",
|
||||||
|
"react"
|
||||||
|
]
|
||||||
|
}
|
||||||
2577
client/package-lock.json
generated
2577
client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -18,6 +18,11 @@
|
|||||||
"@parcel/validator-typescript": "^2.10.3",
|
"@parcel/validator-typescript": "^2.10.3",
|
||||||
"@types/react": "^18.2.45",
|
"@types/react": "^18.2.45",
|
||||||
"@types/react-dom": "^18.2.17",
|
"@types/react-dom": "^18.2.17",
|
||||||
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
||||||
|
"@typescript-eslint/parser": "^6.14.0",
|
||||||
|
"eslint": "^8.55.0",
|
||||||
|
"eslint-config-prettier": "^9.1.0",
|
||||||
|
"eslint-plugin-react": "^7.33.2",
|
||||||
"parcel": "^2.10.3",
|
"parcel": "^2.10.3",
|
||||||
"prettier": "^3.1.1",
|
"prettier": "^3.1.1",
|
||||||
"process": "^0.11.10",
|
"process": "^0.11.10",
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
export function App() {
|
export function App() {
|
||||||
return <h1>Hello worlffffd!</h1>;
|
return <h1>Hello worlffffd!</h1>;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user