I want to use eslint command flag --fix
to just fix one rule. And I tried the command: eslint --fix --config ./.eslintrcsomerules.js .
. But it does not work. How to achieve the object?
My .eslintrcsomerules.js file is below:
module.exports = {
'rules': {
'indent': [2, 2],
}
};