Repository: ember-cli/ember-cli (js)

Issue:
Installing stylelint-config-prettier may not be necessary?
I ran `ember-cli-update` to update a project that had `ember-source@v4.11.0` and `stylelint@v15.4.0` to version `4.12.0`. I noticed that the update added `stylelint-config-prettier` to `package.json`.

The [plugin's `README`](https://github.com/prettier/stylelint-config-prettier/blob/v9.0.5/readme.md) mentioned that it's not needed when `stylelint@v15` is installed:

> **Note**  
> As of Stylelint v15 [all style-related rules have been deprecated](https://stylelint.io/migration-guide/to-15#deprecated-stylistic-rules). If you are using v15 or higher and are not making use of these deprecated rules, [this plugin is no longer necessary](https://stylelint.io/migration-guide/to-15#:~:text=Additionally%2C%20you%20may%20no%20longer%20need%20to%20extend%20Prettier%27s%20Stylelint%20config).

I wonder if we can remove `stylelint-config-prettier` from the blueprint since it adds `stylelint@v15`. There may be edge cases when an end-developer's project uses `stylelint` already; in such cases, the end-developer could always reject some of the changes made by `ember-cli-update`.

What are your thoughts?

---

A separate issue: [`stylelint-config-prettier` isn't listed in the `extends` key in `.stylelintrc.js`](https://github.com/ember-cli/ember-cli/blob/v4.12.0/blueprints/app/files/.stylelintrc.js).

https://github.com/prettier/stylelint-prettier/tree/v3.0.0#disabling-rules-that-may-conflict-with-prettier

Pull request:
[BUGFIX release] Remove `stylelint-config-prettier` from `app` blueprint
Closes #10250.

Patch:
diff --git a/blueprints/app/files/package.json b/blueprints/app/files/package.json
index 623e865a3..16e491428 100644
--- a/blueprints/app/files/package.json
+++ b/blueprints/app/files/package.json
@@ -70,7 +70,6 @@
     "qunit": "^2.19.4",
     "qunit-dom": "^2.0.0",
     "stylelint": "^15.4.0",
-    "stylelint-config-prettier": "^9.0.5",
     "stylelint-config-standard": "^32.0.0",
     "stylelint-prettier": "^3.0.0",
     "tracked-built-ins": "^3.1.1",


Test patch:
diff --git a/tests/fixtures/addon/defaults-travis/package.json b/tests/fixtures/addon/defaults-travis/package.json
index ef0827405..5e9089da8 100644
--- a/tests/fixtures/addon/defaults-travis/package.json
+++ b/tests/fixtures/addon/defaults-travis/package.json
@@ -67,7 +67,6 @@
     "qunit": "^2.15.0",
     "qunit-dom": "^1.6.0",
     "stylelint": "^14.16.1",
-    "stylelint-config-prettier": "^9.0.4",
     "stylelint-config-standard": "^29.0.0",
     "stylelint-prettier": "^2.0.0"
   },
diff --git a/tests/fixtures/addon/defaults/package.json b/tests/fixtures/addon/defaults/package.json
index 2e3a906da..8a5557f06 100644
--- a/tests/fixtures/addon/defaults/package.json
+++ b/tests/fixtures/addon/defaults/package.json
@@ -67,7 +67,6 @@
     "qunit": "^2.19.4",
     "qunit-dom": "^2.0.0",
     "stylelint": "^15.4.0",
-    "stylelint-config-prettier": "^9.0.5",
     "stylelint-config-standard": "^32.0.0",
     "stylelint-prettier": "^3.0.0",
     "webpack": "^5.78.0"
diff --git a/tests/fixtures/addon/yarn/package.json b/tests/fixtures/addon/yarn/package.json
index 4667b3f8a..528ed9cfc 100644
--- a/tests/fixtures/addon/yarn/package.json
+++ b/tests/fixtures/addon/yarn/package.json
@@ -68,7 +68,6 @@
     "qunit": "^2.19.4",
     "qunit-dom": "^2.0.0",
     "stylelint": "^15.4.0",
-    "stylelint-config-prettier": "^9.0.5",
     "stylelint-config-standard": "^32.0.0",
     "stylelint-prettier": "^3.0.0",
     "webpack": "^5.78.0"
diff --git a/tests/fixtures/app/defaults/package.json b/tests/fixtures/app/defaults/package.json
index 4c73e755e..02a8a187c 100644
--- a/tests/fixtures/app/defaults/package.json
+++ b/tests/fixtures/app/defaults/package.json
@@ -64,7 +64,6 @@
     "qunit": "^2.19.4",
     "qunit-dom": "^2.0.0",
     "stylelint": "^15.4.0",
-    "stylelint-config-prettier": "^9.0.5",
     "stylelint-config-standard": "^32.0.0",
     "stylelint-prettier": "^3.0.0",
     "tracked-built-ins": "^3.1.1",
diff --git a/tests/fixtures/app/embroider-no-welcome/package.json b/tests/fixtures/app/embroider-no-welcome/package.json
index 05cbc61c2..87d1d3b6c 100644
--- a/tests/fixtures/app/embroider-no-welcome/package.json
+++ b/tests/fixtures/app/embroider-no-welcome/package.json
@@ -64,7 +64,6 @@
     "qunit": "^2.19.4",
     "qunit-dom": "^2.0.0",
     "stylelint": "^15.4.0",
-    "stylelint-config-prettier": "^9.0.5",
     "stylelint-config-standard": "^32.0.0",
     "stylelint-prettier": "^3.0.0",
     "tracked-built-ins": "^3.1.1",
diff --git a/tests/fixtures/app/embroider-yarn/package.json b/tests/fixtures/app/embroider-yarn/package.json
index ee8931f95..38937f3c0 100644
--- a/tests/fixtures/app/embroider-yarn/package.json
+++ b/tests/fixtures/app/embroider-yarn/package.json
@@ -65,7 +65,6 @@
     "qunit": "^2.19.4",
     "qunit-dom": "^2.0.0",
     "stylelint": "^15.4.0",
-    "stylelint-config-prettier": "^9.0.5",
     "stylelint-config-standard": "^32.0.0",
     "stylelint-prettier": "^3.0.0",
     "tracked-built-ins": "^3.1.1",
diff --git a/tests/fixtures/app/embroider/package.json b/tests/fixtures/app/embroider/package.json
index ee8931f95..38937f3c0 100644
--- a/tests/fixtures/app/embroider/package.json
+++ b/tests/fixtures/app/embroider/package.json
@@ -65,7 +65,6 @@
     "qunit": "^2.19.4",
     "qunit-dom": "^2.0.0",
     "stylelint": "^15.4.0",
-    "stylelint-config-prettier": "^9.0.5",
     "stylelint-config-standard": "^32.0.0",
     "stylelint-prettier": "^3.0.0",
     "tracked-built-ins": "^3.1.1",
diff --git a/tests/fixtures/app/nested-project/actual-project/package.json b/tests/fixtures/app/nested-project/actual-project/package.json
index 30c5e3b17..397c5480b 100644
--- a/tests/fixtures/app/nested-project/actual-project/package.json
+++ b/tests/fixtures/app/nested-project/actual-project/package.json
@@ -63,7 +63,6 @@
     "qunit": "^2.14.1",
     "qunit-dom": "^1.6.0",
     "stylelint": "^14.16.1",
-    "stylelint-config-prettier": "^9.0.4",
     "stylelint-config-standard": "^29.0.0",
     "stylelint-prettier": "^2.0.0"
   },
diff --git a/tests/fixtures/app/npm-travis/package.json b/tests/fixtures/app/npm-travis/package.json
index 15bf835f8..7e3c4e4fc 100644
--- a/tests/fixtures/app/npm-travis/package.json
+++ b/tests/fixtures/app/npm-travis/package.json
@@ -63,7 +63,6 @@
     "qunit": "^2.15.0",
     "qunit-dom": "^1.6.0",
     "stylelint": "^14.16.1",
-    "stylelint-config-prettier": "^9.0.4",
     "stylelint-config-standard": "^29.0.0",
     "stylelint-prettier": "^2.0.0",
     "tracked-built-ins": "^3.1.0"
diff --git a/tests/fixtures/app/npm/package.json b/tests/fixtures/app/npm/package.json
index b9e5c8d85..ec1ee829f 100644
--- a/tests/fixtures/app/npm/package.json
+++ b/tests/fixtures/app/npm/package.json
@@ -63,7 +63,6 @@
     "qunit": "^2.19.4",
     "qunit-dom": "^2.0.0",
     "stylelint": "^15.4.0",
-    "stylelint-config-prettier": "^9.0.5",
     "stylelint-config-standard": "^32.0.0",
     "stylelint-prettier": "^3.0.0",
     "tracked-built-ins": "^3.1.1",
diff --git a/tests/fixtures/app/with-blueprint-override-lint-fail/package.json b/tests/fixtures/app/with-blueprint-override-lint-fail/package.json
index e40ac44d7..e9cb5f31e 100644
--- a/tests/fixtures/app/with-blueprint-override-lint-fail/package.json
+++ b/tests/fixtures/app/with-blueprint-override-lint-fail/package.json
@@ -62,7 +62,6 @@
     "qunit": "^2.14.1",
     "qunit-dom": "^1.6.0",
     "stylelint": "^14.16.1",
-    "stylelint-config-prettier": "^9.0.4",
     "stylelint-config-standard": "^29.0.0",
     "stylelint-prettier": "^2.0.0",
     "tracked-built-ins": "^3.1.0"
diff --git a/tests/fixtures/app/yarn-travis/package.json b/tests/fixtures/app/yarn-travis/package.json
index f7825b20b..3894f9e90 100644
--- a/tests/fixtures/app/yarn-travis/package.json
+++ b/tests/fixtures/app/yarn-travis/package.json
@@ -64,7 +64,6 @@
     "qunit": "^2.15.0",
     "qunit-dom": "^1.6.0",
     "stylelint": "^14.16.1",
-    "stylelint-config-prettier": "^9.0.4",
     "stylelint-config-standard": "^29.0.0",
     "stylelint-prettier": "^2.0.0",
     "tracked-built-ins": "^3.1.0"
diff --git a/tests/fixtures/app/yarn/package.json b/tests/fixtures/app/yarn/package.json
index 4c73e755e..02a8a187c 100644
--- a/tests/fixtures/app/yarn/package.json
+++ b/tests/fixtures/app/yarn/package.json
@@ -64,7 +64,6 @@
     "qunit": "^2.19.4",
     "qunit-dom": "^2.0.0",
     "stylelint": "^15.4.0",
-    "stylelint-config-prettier": "^9.0.5",
     "stylelint-config-standard": "^32.0.0",
     "stylelint-prettier": "^3.0.0",
     "tracked-built-ins": "^3.1.1",