feat(linters): linters and prettier added to front
This commit is contained in:
4
front/.eslintignore
Normal file
4
front/.eslintignore
Normal file
@@ -0,0 +1,4 @@
|
||||
*.[tj]s
|
||||
*.[tj]sx
|
||||
|
||||
!src/**/*
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"extends": "next/core-web-vitals"
|
||||
"extends": ["next/core-web-vitals", "prettier"]
|
||||
}
|
||||
|
||||
6
front/.prettierignore
Normal file
6
front/.prettierignore
Normal file
@@ -0,0 +1,6 @@
|
||||
# Ignore artifacts:
|
||||
.next
|
||||
.blueprints
|
||||
node_modules
|
||||
build
|
||||
coverage
|
||||
7
front/.prettierrc.json
Normal file
7
front/.prettierrc.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"printWidth": 85,
|
||||
"tabWidth": 4,
|
||||
"singleQuote": false,
|
||||
"semi": true,
|
||||
"arrowParens": "always"
|
||||
}
|
||||
9179
front/package-lock.json
generated
9179
front/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,28 +1,29 @@
|
||||
{
|
||||
"name": "front-next-archetype",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3016",
|
||||
"build": "next build",
|
||||
"start": "next start -p 3016",
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "14.2.3",
|
||||
"next-auth": "^4.24.7",
|
||||
"postcss": "^8.4.39",
|
||||
"react": "^18",
|
||||
"react-dom": "^18"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20",
|
||||
"@types/react": "^18",
|
||||
"@types/react-dom": "^18",
|
||||
"eslint": "^8",
|
||||
"eslint-config-next": "14.2.3",
|
||||
"prettier": "3.3.3",
|
||||
"sass": "^1.77.8",
|
||||
"typescript": "^5"
|
||||
}
|
||||
"name": "front-next-archetype",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3016",
|
||||
"build": "next build",
|
||||
"start": "next start -p 3016",
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "14.2.3",
|
||||
"next-auth": "^4.24.7",
|
||||
"postcss": "^8.4.39",
|
||||
"react": "^18",
|
||||
"react-dom": "^18"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20",
|
||||
"@types/react": "^18",
|
||||
"@types/react-dom": "^18",
|
||||
"eslint": "^8",
|
||||
"eslint-config-next": "14.2.3",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"prettier": "3.3.3",
|
||||
"sass": "^1.77.8",
|
||||
"typescript": "^5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user