Closed ptkdev closed 5 years ago
I try auto-fix all indentation with eslint --fix but not work, esample: eslint ./ --ext .html,.js,.php --cache --ignore-pattern .gitignore --fix
eslint --fix
eslint ./ --ext .html,.js,.php --cache --ignore-pattern .gitignore --fix
{ "env": { "browser": true, "es6": false, "node": false }, "extends": "eslint:recommended", "parserOptions": { "sourceType": "module", "ecmaVersion": 2015 }, "plugins": [ "html" ], "settings": { "html/html-extensions": [".html", ".twig", ".vue", ".php"], "html/indent": "tab", "html/report-bad-indent": "warn" }, "rules": {} }
What are the messages reported by ESLint? Bad line indentation messages are not (yet?) auto-fixable.
Bad line indentation
@ptkdev are you planning to give me an answer or should I figure it out from the thumb down emoji?
Description
I try auto-fix all indentation with
eslint --fix
but not work, esample:eslint ./ --ext .html,.js,.php --cache --ignore-pattern .gitignore --fix
Setup configuration