vue-cli3を使っていて vue-cli-service lint
を実行するとlintエラーの部分が自動的にautofixされますが、autofixではなく警告だけ出すように変えることは可能でしょうか。
現在自分の.eslintrc設定はこちらです
{ "root": true, "env": { "node": true }, "extends": ["plugin:vue/recommended"], "rules": { "no-undef": "off", "no-unused-vars": "off", "strict": "off" }, "parserOptions": { "parser": "@typescript-eslint/parser", "ecmaFeatures": { "legacyDecorators": true } }, "plugins": ["@typescript-eslint"], "globals": { "jQuery": true, "googletag": true, "$": true } }
vue-cli-serviceの問題でしたらvue.config.jsを修正しなければいけないでしょうか。
auto-fixedは以下のように実行されました
npm run lint > gulpfile_generator@1.1.0 lint /xx > vue-cli-service lint The following files have been auto-fixed: src/App.vue DONE All lint errors auto-fixed.

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/04/26 10:39