@codabytez/create-next-template 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -107,10 +107,11 @@ var BASE_DEV_DEPS = {
|
|
|
107
107
|
"@tailwindcss/postcss": "^4.2.2",
|
|
108
108
|
postcss: "^8.5.8",
|
|
109
109
|
// Code quality
|
|
110
|
+
eslint: "^10.1.0",
|
|
111
|
+
"eslint-config-next": "^16.2.0",
|
|
110
112
|
"@eslint/eslintrc": "^3.3.5",
|
|
111
113
|
prettier: "^3.8.1",
|
|
112
114
|
"eslint-config-prettier": "^10.1.8",
|
|
113
|
-
"eslint-plugin-prettier": "^5.5.5",
|
|
114
115
|
// Git hooks
|
|
115
116
|
husky: "^9.1.7",
|
|
116
117
|
"lint-staged": "^16.4.0"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dirname } from "path";
|
|
2
2
|
import { fileURLToPath } from "url";
|
|
3
3
|
import { FlatCompat } from "@eslint/eslintrc";
|
|
4
|
-
import
|
|
4
|
+
import eslintConfigPrettier from "eslint-config-prettier";
|
|
5
5
|
|
|
6
6
|
const __filename = fileURLToPath(import.meta.url);
|
|
7
7
|
const __dirname = dirname(__filename);
|
|
@@ -10,10 +10,9 @@ const compat = new FlatCompat({ baseDirectory: __dirname });
|
|
|
10
10
|
|
|
11
11
|
const eslintConfig = [
|
|
12
12
|
...compat.extends("next/core-web-vitals", "next/typescript"),
|
|
13
|
-
|
|
13
|
+
eslintConfigPrettier,
|
|
14
14
|
{
|
|
15
15
|
rules: {
|
|
16
|
-
"prettier/prettier": "error",
|
|
17
16
|
"no-console": ["error", { allow: ["warn", "error"] }],
|
|
18
17
|
"no-debugger": "error",
|
|
19
18
|
"@typescript-eslint/no-unused-vars": [
|