feat(packages): add config & packages for eslint + prettier + stylelint
This commit is contained in:
parent
493c736f2e
commit
095627d408
985
package-lock.json
generated
985
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@ -6,24 +6,29 @@
|
|||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint:next": "next lint",
|
"lint:next": "next lint",
|
||||||
"lint:scss": "npx stylelint \"**/*.scss\" --fix"
|
"lint:scss": "stylelint \"**/*.scss\"",
|
||||||
|
"lint:prettier": "prettier \".\" --check"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"next": "12.0.10",
|
"next": "12.0.10",
|
||||||
"react": "17.0.2",
|
"react": "17.0.2",
|
||||||
"react-dom": "17.0.2",
|
"react-dom": "17.0.2",
|
||||||
"sass": "^1.49.7",
|
"sass": "^1.49.7"
|
||||||
"stylelint-config-prettier-scss": "^0.0.1",
|
|
||||||
"stylelint-config-standard-scss": "^3.0.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "17.0.17",
|
"@types/node": "17.0.17",
|
||||||
"@types/react": "17.0.39",
|
"@types/react": "17.0.39",
|
||||||
"eslint": "8.9.0",
|
"eslint": "^8.2.0",
|
||||||
"eslint-config-next": "12.0.10",
|
"eslint-config-next": "12.0.10",
|
||||||
|
"eslint-config-prettier": "^8.5.0",
|
||||||
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
|
"prettier": "^2.6.0",
|
||||||
"stylelint": "^14.5.0",
|
"stylelint": "^14.5.0",
|
||||||
"stylelint-config-prettier": "^9.0.3",
|
"stylelint-config-prettier": "^9.0.3",
|
||||||
|
"stylelint-config-prettier-scss": "^0.0.1",
|
||||||
"stylelint-config-standard": "^25.0.0",
|
"stylelint-config-standard": "^25.0.0",
|
||||||
|
"stylelint-config-standard-scss": "^3.0.0",
|
||||||
|
"stylelint-scss": "^4.2.0",
|
||||||
"typescript": "4.5.5"
|
"typescript": "4.5.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user