diff --git a/.eslintrc.json b/.eslintrc.json index e9f895a..f28a0a2 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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. diff --git a/.vscode/settings.json b/.vscode/settings.json index ec6a25c..3f42379 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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" + } } diff --git a/package.json b/package.json index 23b825e..cadd0ae 100644 --- a/package.json +++ b/package.json @@ -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", @@ -47,7 +48,7 @@ "yarn lint:fix" ], "**/*.{html,css,js,jsx,ts,tsx,md,json}": [ - "yarn format" + "yarn format:fix" ] }, "browserslist": { @@ -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", diff --git a/tailwind.config.js b/tailwind.config.js index 3b742c5..4842997 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,3 +1,4 @@ +/** @type {import('tailwindcss').Config} */ module.exports = { content: [ "./pages/**/*.{js,ts,jsx,tsx}",