File tree Expand file tree Collapse file tree
js/red-javascript-style-guide Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " eslint-config-red" ,
3- "version" : " 1.3.0 " ,
3+ "version" : " 1.3.1 " ,
44 "license" : " CC0-1.0" ,
55 "homepage" : " https://github.com/GrosSacASac/JavaScript-Set-Up/tree/master/js/red-javascript-style-guide" ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -599,7 +599,7 @@ npm i -D eslint eslint-config-red
599599
600600Inside package.json
601601
602- ```
602+ ``` json
603603"eslintConfig" : {
604604 "extends" : [" red" ],
605605 "parserOptions" : {
@@ -615,6 +615,13 @@ Inside package.json
615615}
616616```
617617
618+ Inside package.json>scripts
619+
620+ ```
621+ "lint-fix": "eslint --ignore-path .gitignore --fix source",
622+ "lint": "eslint --ignore-path .gitignore source",
623+ ```
624+
618625### Inspiration
619626
620627 - [ APIs (video)] ( https://www.youtube.com/watch?v=gweY3L0YA1Y )
You can’t perform that action at this time.
0 commit comments