Skip to content

Commit bb78d55

Browse files
committed
build: Upgraded to Next.js 15.5.2 and add better tailwindcss plugin for eslint
- Removed prettier-plugin-tailwindcss and add eslint-plugin-better-tailwindcss for linting and formatting - Updated all the packages
1 parent 2138e51 commit bb78d55

6 files changed

Lines changed: 329 additions & 282 deletions

File tree

.prettierrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"importOrderSeparation": true,
4646
"importOrderSortSpecifiers": true,
4747
"plugins": [
48-
"@ianvs/prettier-plugin-sort-imports",
49-
"prettier-plugin-tailwindcss"
48+
"@ianvs/prettier-plugin-sort-imports"
5049
]
5150
}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

3+
> April 09, 2025\_
4+
5+
- Version 3.5.2
6+
- feat: Upgraded to latest Nextjs 15.5.2 and updated related deps
7+
- Removed prettier-plugin-tailwindcss and added eslint-plugin-better-tailwindcss for linting and formatting
8+
39
> Aug 24, 2025 — Version 3.5.0
410
511
- refactor: full codebase rebuilt from scratch on Next.js 15.5.0

eslint.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { fileURLToPath } from "url";
33
import { FlatCompat } from "@eslint/eslintrc";
44
import tsParser from "@typescript-eslint/parser";
55
import prettierConfig from "eslint-config-prettier";
6+
import betterTailwindcss from "eslint-plugin-better-tailwindcss";
67
import prettierPlugin from "eslint-plugin-prettier";
78
import reactHooksExtra from "eslint-plugin-react-hooks-extra";
89
import security from "eslint-plugin-security";
@@ -100,9 +101,16 @@ const eslintConfig = [
100101
plugins: {
101102
"react-hooks-extra": reactHooksExtra,
102103
prettier: prettierPlugin,
104+
"better-tailwindcss": betterTailwindcss,
105+
},
106+
settings: {
107+
"better-tailwindcss": {
108+
entryPoint: "src/app/globals.css",
109+
},
103110
},
104111
rules: {
105112
...sharedRules,
113+
...betterTailwindcss.configs.recommended.rules,
106114
"no-shadow": [
107115
2,
108116
{

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bhanu1776/nextjs-starter",
3-
"version": "3.5.0",
3+
"version": "3.5.2",
44
"author": "bhanu1776",
55
"license": "MIT",
66
"bin": "./bin/cli.js",
@@ -16,34 +16,34 @@
1616
},
1717
"dependencies": {
1818
"@vercel/analytics": "^1.5.0",
19-
"next": "15.5.0",
19+
"next": "15.5.2",
2020
"next-pwa": "^5.6.0",
21-
"react": "^19.1.0",
22-
"react-dom": "^19.1.0"
21+
"react": "^19.1.1",
22+
"react-dom": "^19.1.1"
2323
},
2424
"devDependencies": {
25-
"@eslint/eslintrc": "^3",
26-
"@ianvs/prettier-plugin-sort-imports": "^4.6.2",
27-
"@tailwindcss/postcss": "^4",
28-
"@types/node": "^20",
29-
"@types/react": "^19",
30-
"@types/react-dom": "^19",
31-
"@typescript-eslint/parser": "^8.40.0",
25+
"@eslint/eslintrc": "^3.3.1",
26+
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
27+
"@tailwindcss/postcss": "^4.1.12",
28+
"@types/node": "^20.19.11",
29+
"@types/react": "^19.1.12",
30+
"@types/react-dom": "^19.1.9",
31+
"@typescript-eslint/parser": "^8.41.0",
3232
"classnames": "^2.5.1",
33-
"eslint": "^9",
34-
"eslint-config-next": "15.5.0",
33+
"eslint": "^9.34.0",
34+
"eslint-config-next": "15.5.2",
3535
"eslint-config-prettier": "^10.1.8",
36+
"eslint-plugin-better-tailwindcss": "^3.7.6",
3637
"eslint-plugin-prettier": "^5.5.4",
37-
"eslint-plugin-react-hooks-extra": "^1.52.6",
38+
"eslint-plugin-react-hooks-extra": "^1.52.8",
3839
"eslint-plugin-security": "^3.0.1",
3940
"husky": "^9.1.7",
4041
"prettier": "^3.6.2",
41-
"prettier-plugin-tailwindcss": "^0.6.14",
42-
"tailwindcss": "^4",
42+
"tailwindcss": "^4.1.12",
4343
"tailwindcss-debug-screens": "^3.0.1",
4444
"ts-plugin-sort-import-suggestions": "^1.0.4",
4545
"tw-animate-css": "^1.3.7",
46-
"typescript": "^5"
46+
"typescript": "^5.9.2"
4747
},
4848
"repository": {
4949
"type": "git",

0 commit comments

Comments
 (0)