feat(packages): add config & packages for eslint + prettier + stylelint

This commit is contained in:
Walid 2022-03-17 11:48:59 +01:00
parent 493c736f2e
commit 095627d408
No known key found for this signature in database
GPG Key ID: 50CE2725C6AF36B0
2 changed files with 771 additions and 229 deletions

985
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -6,24 +6,29 @@
"build": "next build",
"start": "next start",
"lint:next": "next lint",
"lint:scss": "npx stylelint \"**/*.scss\" --fix"
"lint:scss": "stylelint \"**/*.scss\"",
"lint:prettier": "prettier \".\" --check"
},
"dependencies": {
"next": "12.0.10",
"react": "17.0.2",
"react-dom": "17.0.2",
"sass": "^1.49.7",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard-scss": "^3.0.0"
"sass": "^1.49.7"
},
"devDependencies": {
"@types/node": "17.0.17",
"@types/react": "17.0.39",
"eslint": "8.9.0",
"eslint": "^8.2.0",
"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-config-prettier": "^9.0.3",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard": "^25.0.0",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-scss": "^4.2.0",
"typescript": "4.5.5"
}
}