chore: add prettier, eslint and related plugins

This commit is contained in:
Sat Naing
2022-10-16 20:34:21 +06:30
parent caf9c4a8a5
commit d6dd8185f2
2 changed files with 3696 additions and 22 deletions
+3682 -22
View File
File diff suppressed because it is too large Load Diff
+14
View File
@@ -8,6 +8,9 @@
"build": "astro build", "build": "astro build",
"preview": "astro preview", "preview": "astro preview",
"astro": "astro", "astro": "astro",
"lint": "eslint .",
"format:check": "prettier --check .",
"format": "prettier --write .",
"cz": "cz" "cz": "cz"
}, },
"dependencies": { "dependencies": {
@@ -24,8 +27,19 @@
"@astrojs/sitemap": "^1.0.0", "@astrojs/sitemap": "^1.0.0",
"@astrojs/tailwind": "^1.0.0", "@astrojs/tailwind": "^1.0.0",
"@tailwindcss/typography": "^0.5.7", "@tailwindcss/typography": "^0.5.7",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"commitizen": "^4.2.5", "commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0", "cz-conventional-changelog": "^3.3.0",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-markdown": "^3.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^2.7.1",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0" "react-dom": "^18.2.0"
}, },