File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Original file line number Diff line number Diff line change @@ -99,23 +99,19 @@ Also, verify that the sniffer code itself is written according to the Magento Co
99
99
vendor/bin/phpcs --standard=Magento2 Magento2/ --extensions=php
100
100
```
101
101
102
- ### ESLint and JSCS
102
+ ### ESLint
103
103
Prerequisites: [ Node.js] ( https://nodejs.org/ ) (` ^12.22.0 ` , ` ^14.17.0 ` , or ` >=16.0.0 ` ).
104
104
105
105
You need to run the following command to install all the necessary packages described in the ` package.json ` file:
106
106
``` bash
107
107
npm install
108
108
```
109
109
110
- You can just execute ESLint as follows:
110
+ You can execute ESLint as follows:
111
111
``` bash
112
112
npm run eslint -- path/to/analyze
113
113
```
114
114
115
- Run the following command to execute JSCS:
116
- ``` bash
117
- npm run jscs path/to/analyze
118
- ```
119
115
## License
120
116
121
117
Each Magento source file included in this distribution is licensed under the OSL-3.0 license.
You can’t perform that action at this time.
0 commit comments