Skip to content

Commit

Permalink
Merge pull request #114 from magento-commerce/imported-loginesta-mage…
Browse files Browse the repository at this point in the history
…nto-coding-standard-327

[Imported] AC-1509: Remove outdated JSCS static tests from magento
  • Loading branch information
loginesta authored Nov 8, 2021
2 parents 6bf1226 + acc3185 commit 8bbe48f
Showing 1 changed file with 2 additions and 6 deletions.
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

0 comments on commit 8bbe48f

Please sign in to comment.