Skip to content

Commit 25937f8

Browse files
committed
Update note
1 parent b6a33fc commit 25937f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ruby_on_rails/linting_and_automatic_check.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ end
3434

3535
## SCSS lint
3636

37-
> _Note_: You may not need `yarn` in your Project. Please consult with your teammates.
37+
> _Note_: Your Semaphore configuration might have to be adjusted if you decide to use `npm`.
3838
3939
To lint the SASS/SCSS files in our project you can use the `stylelint` npm package.
4040

41-
`bin/yarn add stylelint stylelint-config-standard-scss`
41+
`npm install stylelint stylelint-config-standard-scss`
4242

4343
Add to the project the [linter configuration file](../templates/stylelintrc.yml) and check the [`bin/fastcheck`
4444
template](../templates/bin/fastcheck) to see the command to execute the SCSS linting.
@@ -54,8 +54,8 @@ end
5454
## ESLint
5555

5656
```
57-
yarn add eslint
58-
yarn eslint --init (Use a popular style guide -> Airbnb)
57+
npm install eslint
58+
npx eslint --init (Use a popular style guide -> Airbnb)
5959
```
6060

6161
then extend the `bin/fastcheck` script with:

0 commit comments

Comments
 (0)