Skip to content

AC-1509: Remove outdated JSCS static tests from magento #327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 8, 2021
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