Skip to content

Commit a635424

Browse files
committed
Update README file
1 parent ea85ae0 commit a635424

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,23 @@ Also, verify that the sniffer code itself is written according to the Magento Co
9999
vendor/bin/phpcs --standard=Magento2 Magento2/ --extensions=php
100100
```
101101

102-
### ESLint testing
102+
### ESLint and JSCS
103103
Prerequisites: [Node.js](https://nodejs.org/) (`^12.22.0`, `^14.17.0`, or `>=16.0.0`).
104104

105105
You need to run the following command to install all the necessary packages described in the `package.json` file:
106106
```bash
107107
npm install
108108
```
109109

110-
After that, you can just execute ESLint as follows:
110+
You can just execute ESLint as follows:
111111
```bash
112112
npm run eslint -- path/to/analyze
113113
```
114+
115+
Run the following command to execute JSCS:
116+
```bash
117+
npm run jscs path/to/analyze
118+
```
114119
## License
115120

116121
Each Magento source file included in this distribution is licensed under the OSL-3.0 license.

0 commit comments

Comments
 (0)