@codabytez/create-next-template 0.1.6 → 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
@@ -112,7 +112,6 @@ var BASE_DEV_DEPS = {
112
112
  "@eslint/eslintrc": "^3.3.5",
113
113
  prettier: "^3.8.1",
114
114
  "eslint-config-prettier": "^10.1.8",
115
- "eslint-plugin-prettier": "^5.5.5",
116
115
  // Git hooks
117
116
  husky: "^9.1.7",
118
117
  "lint-staged": "^16.4.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codabytez/create-next-template",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "CLI to scaffold Next.js projects with your preferred stack",
5
5
  "bin": {
6
6
  "create-next-template": "./dist/index.js"
@@ -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 prettier from "eslint-plugin-prettier/recommended";
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
- prettier,
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": [