Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,23 +99,19 @@ Also, verify that the sniffer code itself is written according to the Magento Co
vendor/bin/phpcs --standard=Magento2 Magento2/ --extensions=php
```

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

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

You can just execute ESLint as follows:
You can execute ESLint as follows:
```bash
npm run eslint -- path/to/analyze
```

Run the following command to execute JSCS:
```bash
npm run jscs path/to/analyze
```
## License

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