Skip to content

Commit

Permalink
feat(tailwind): ✨ add tailwind types for config
Browse files Browse the repository at this point in the history
  • Loading branch information
navin-moorthy committed Jun 10, 2022
1 parent 3ff24ab commit 050f318
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
8 changes: 1 addition & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@
// https://github.com/lydell/eslint-plugin-simple-import-sort#custom-grouping
"groups": [
// Packages. `react` related packages come first.
[
"^react",
"^reakit-system",
"^reakit",
"^@renderlesskit/react",
"^@?\\w"
],
["^react", "^@?\\w"],
// Parent imports. Put `..` last.
["^\\.\\.(?!/?$)", "^\\.\\./?$"],
// Other relative imports. Put same-folder imports and `.` last.
Expand Down
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"git.branchProtection": ["main"]
"git.branchProtection": ["main"],
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "file:///Users/navin/Documents/github/next-react-app/.github/workflows/build.yml"
}
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"test:ci": "jest --ci",
"lint": "next lint",
"lint:fix": "eslint --color --ext .js,.jsx,.ts,.tsx . --fix",
"format": "prettier -wl \"./**/*.{html,css,js,jsx,ts,tsx,md,json}\"",
"format": "prettier --check \"./**/*.{html,css,js,jsx,ts,tsx,md,json}\"",
"format:fix": "prettier -wl \"./**/*.{html,css,js,jsx,ts,tsx,md,json}\"",
"format:package": "sort-package-json package.json",
"release": "release-it",
"commit": "gacp",
Expand All @@ -47,7 +48,7 @@
"yarn lint:fix"
],
"**/*.{html,css,js,jsx,ts,tsx,md,json}": [
"yarn format"
"yarn format:fix"
]
},
"browserslist": {
Expand Down Expand Up @@ -78,7 +79,7 @@
"@testing-library/react": "13.3.0",
"@testing-library/user-event": "14.2.0",
"@types/jest": "28.1.1",
"@types/node": "17.0.5",
"@types/node": "17.0.41",
"@types/react": "18.0.12",
"@types/react-dom": "18.0.5",
"all-contributors-cli": "6.20.0",
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
Expand Down

0 comments on commit 050f318

Please sign in to comment.