Repository: ember-cli/ember-cli
Pull request #9435 (2021-01-24 20:37:42)

Use "lint:fix" script in app and addon README files
Thought it would be good to align these with the script defined in the `package.json` files.

Should we also include the other lint scripts or would that be too much?


Patch:
diff --git a/blueprints/addon/files/CONTRIBUTING.md b/blueprints/addon/files/CONTRIBUTING.md
index 97d349360..e8a9a7064 100644
--- a/blueprints/addon/files/CONTRIBUTING.md
+++ b/blueprints/addon/files/CONTRIBUTING.md
@@ -8,9 +8,8 @@
 
 ## Linting
 
-* `<% if (yarn) { %>yarn lint:hbs<% } else { %>npm run lint:hbs<% } %>`
-* `<% if (yarn) { %>yarn lint:js<% } else { %>npm run lint:js<% } %>`
-* `<% if (yarn) { %>yarn lint:js --fix<% } else { %>npm run lint:js -- --fix<% } %>`
+* `<% if (yarn) { %>yarn lint<% } else { %>npm run lint<% } %>`
+* `<% if (yarn) { %>yarn lint:fix<% } else { %>npm run lint:fix<% } %>`
 
 ## Running tests
 
diff --git a/blueprints/app/files/README.md b/blueprints/app/files/README.md
index a970428ca..469bce68e 100644
--- a/blueprints/app/files/README.md
+++ b/blueprints/app/files/README.md
@@ -36,9 +36,8 @@ Make use of the many generators for code, try `ember help generate` for more det
 
 ### Linting
 
-* `<% if (yarn) { %>yarn lint:hbs<% } else { %>npm run lint:hbs<% } %>`
-* `<% if (yarn) { %>yarn lint:js<% } else { %>npm run lint:js<% } %>`
-* `<% if (yarn) { %>yarn lint:js --fix<% } else { %>npm run lint:js -- --fix<% } %>`
+* `<% if (yarn) { %>yarn lint<% } else { %>npm run lint<% } %>`
+* `<% if (yarn) { %>yarn lint:fix<% } else { %>npm run lint:fix<% } %>`
 
 ### Building
 


Test patch:
diff --git a/tests/fixtures/addon/defaults/CONTRIBUTING.md b/tests/fixtures/addon/defaults/CONTRIBUTING.md
index 9dc619ac4..fe508af0e 100644
--- a/tests/fixtures/addon/defaults/CONTRIBUTING.md
+++ b/tests/fixtures/addon/defaults/CONTRIBUTING.md
@@ -8,9 +8,8 @@
 
 ## Linting
 
-* `npm run lint:hbs`
-* `npm run lint:js`
-* `npm run lint:js -- --fix`
+* `npm run lint`
+* `npm run lint:fix`
 
 ## Running tests
 
diff --git a/tests/fixtures/addon/yarn/CONTRIBUTING.md b/tests/fixtures/addon/yarn/CONTRIBUTING.md
index 249926e03..9ae5a1bfd 100644
--- a/tests/fixtures/addon/yarn/CONTRIBUTING.md
+++ b/tests/fixtures/addon/yarn/CONTRIBUTING.md
@@ -8,9 +8,8 @@
 
 ## Linting
 
-* `yarn lint:hbs`
-* `yarn lint:js`
-* `yarn lint:js --fix`
+* `yarn lint`
+* `yarn lint:fix`
 
 ## Running tests
 
diff --git a/tests/fixtures/app/defaults/README.md b/tests/fixtures/app/defaults/README.md
index c81ac108a..dba454682 100644
--- a/tests/fixtures/app/defaults/README.md
+++ b/tests/fixtures/app/defaults/README.md
@@ -35,9 +35,8 @@ Make use of the many generators for code, try `ember help generate` for more det
 
 ### Linting
 
-* `npm run lint:hbs`
-* `npm run lint:js`
-* `npm run lint:js -- --fix`
+* `npm run lint`
+* `npm run lint:fix`
 
 ### Building
 
diff --git a/tests/fixtures/app/npm/README.md b/tests/fixtures/app/npm/README.md
index c81ac108a..dba454682 100644
--- a/tests/fixtures/app/npm/README.md
+++ b/tests/fixtures/app/npm/README.md
@@ -35,9 +35,8 @@ Make use of the many generators for code, try `ember help generate` for more det
 
 ### Linting
 
-* `npm run lint:hbs`
-* `npm run lint:js`
-* `npm run lint:js -- --fix`
+* `npm run lint`
+* `npm run lint:fix`
 
 ### Building
 
diff --git a/tests/fixtures/app/yarn/README.md b/tests/fixtures/app/yarn/README.md
index cce602293..21a6679ce 100644
--- a/tests/fixtures/app/yarn/README.md
+++ b/tests/fixtures/app/yarn/README.md
@@ -36,9 +36,8 @@ Make use of the many generators for code, try `ember help generate` for more det
 
 ### Linting
 
-* `yarn lint:hbs`
-* `yarn lint:js`
-* `yarn lint:js --fix`
+* `yarn lint`
+* `yarn lint:fix`
 
 ### Building