Skip to content

Commit d062a7a

Browse files
committed
Remove redundant linting
On modern Ember apps, linting is done as part of `yarn test`.
1 parent 86ce0c8 commit d062a7a

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,6 @@ Options:
417417

418418
Indicates a checkpoint where the following steps are performed:
419419

420-
* `yarn lint:hbs`
421-
* `yarn lint:js`
422420
* `yarn test`
423421
* Optionally, commit the current changes
424422
* Verify the git tree is clean (i.e. no dirty or untracked files)

src/lib/plugins/run-code-blocks/directives/checkpoint.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ export default async function checkpoint(node: Code, options: Options): Promise<
2828
cwd = join(cwd, args.cwd);
2929
}
3030

31-
console.log(`$ yarn lint:hbs`);
32-
33-
await exec('yarn lint:hbs', { cwd });
34-
35-
console.log(`$ yarn lint:js`);
36-
37-
await exec('yarn lint:js', { cwd });
38-
3931
console.log(`$ yarn test`);
4032

4133
await exec('yarn test', { cwd });

src/markdown/tutorial/part-1/07-reusable-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ As its name implies, `config/environment.js` is used to *configure* our app and
3939
> If you prefer, you can [create different Mapbox access tokens](https://account.mapbox.com/access-tokens/) for use in different environments. At a minimum, the tokens will each need to have the "styles:tiles" scope in order to use Mapbox's static images API.
4040
4141
```run:command hidden=true cwd=super-rentals
42-
yarn test
42+
yarn ember test
4343
git add config/environment.js
4444
```
4545

@@ -52,7 +52,7 @@ git add config/environment.js
5252
```
5353

5454
```run:command hidden=true cwd=super-rentals
55-
yarn test
55+
yarn ember test
5656
git add config/environment.js
5757
```
5858

0 commit comments

Comments
 (0)