In “CodeMix -> Formatter -> Vue -> Format: JS” I have set “prettier-eslint” and in my projects home dir I do have an .eslintrc but it’s being ignored (tried different extensions of the file (.js, .json).
node correctly finds and interpretes that file, but codemix doesn’t apply it’s rules with prettier-eslint. It should do a eslint –fix after invoking prettier.
{
“extends”: “vuetify”,
“rules”: {
“space-before-function-paren”: [“error”],
“no-tabs”: “error”,
“vue/max-attributes-per-line”: “off”,
“vue/attributes-order”: “off”,
“vue/html-closing-bracket-newline”: “off”,
“vue/singleline-html-element-content-newline”: “off”,
“vue/attribute-hyphenation”: “off”,
“vue/require-prop-types”: “off”,
“vue/script-indent”: [“error”, 2, {
“baseIndent”: 0,
“switchCase”: 0,
“ignores”: []
}],
“vue/html-indent”: [“error”, 2, {
“attribute”: 1,
“baseIndent”: 1,
“closeBracket”: 0,
“alignAttributesVertically”: false,
“ignores”: []
}],
“vue/multiline-html-element-content-newline”: “off”,
“vue/html-self-closing”: [“error”, {
“html”: {
“void”: “always”,
“normal”: “always”,
“component”: “always”
}
}]
}
}