Skip to content

Commit

Permalink
Merge pull request #14 from Indie-Creator-Community/chore/config-upda…
Browse files Browse the repository at this point in the history
…tes-vscode-tailwind-eslint

Chore: config updates vscode tailwind eslint
  • Loading branch information
serudda authored Sep 21, 2024
2 parents 5a0525d + 407e0dc commit 91ab340
Show file tree
Hide file tree
Showing 6 changed files with 3,978 additions and 3,122 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ build
# misc
.DS_Store
*.pem
.tool-versions

# debug
npm-debug.log*
Expand Down
3 changes: 2 additions & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"apps/**/*.{js,ts,jsx,tsx}": ["prettier --write --ignore-unknown", "eslint --fix"]
"apps/**/*.{js,ts,jsx,tsx}": ["prettier --write --ignore-unknown", "eslint --fix"],
"package.json": ["manypkg fix"]
}
15 changes: 13 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"editor.tabSize": 2,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"[prisma]": {
"editor.defaultFormatter": "Prisma.prisma"
Expand All @@ -20,5 +20,16 @@
},
"editor.formatOnSave": true,
"eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }],
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",

// Tailwind CSS
"tailwindCSS.classAttributes": ["class", "className", "ngClass", "classes", "cn"],
"tailwindCSS.includeLanguages": {
"html": "html",
"javascript": "javascript",
"css": "css",
"astro": "astro",
"vue": "vue",
"typescript": "typescript"
}
}
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,18 @@
"lint": "turbo lint && manypkg check",
"lint:fix": "turbo lint:fix && manypkg fix",
"type-check": "turbo type-check",
"prepare": "npx husky install"
"prepare": "husky"
},
"dependencies": {
"@acme/eslint-config": "workspace:*",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@ianvs/prettier-plugin-sort-imports": "^3.7.2",
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@commitlint/types": "^19.0.3",
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@manypkg/cli": "^0.21.4",
"eslint": "^8.38.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"prettier-plugin-jsdoc": "^1.3.0",
"prettier-plugin-prisma": "^4.10.0",
Expand Down
Loading

0 comments on commit 91ab340

Please sign in to comment.