lint-staged: move configuration to `.lintstagedrc.json` file
This commit is contained in:
parent
38bac67b71
commit
dbd859d053
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"*.js": "eslint --cache",
|
||||||
|
"app/styles/**/*.scss": "stylelint"
|
||||||
|
}
|
|
@ -183,9 +183,5 @@
|
||||||
"stylelint-scss": "^3.18.0",
|
"stylelint-scss": "^3.18.0",
|
||||||
"webpack-dev-server": "^4.1.0",
|
"webpack-dev-server": "^4.1.0",
|
||||||
"yargs": "^16.0.3"
|
"yargs": "^16.0.3"
|
||||||
},
|
|
||||||
"lint-staged": {
|
|
||||||
"*.js": "eslint --cache",
|
|
||||||
"app/styles/**/*.scss": "stylelint"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue