Skip to content

Commit

Permalink
feat(vue): add rules override
Browse files Browse the repository at this point in the history
  • Loading branch information
samouss committed Jun 1, 2018
1 parent 2870b46 commit ac98c1a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rules/vue.js
@@ -1,6 +1,13 @@
// eslint-disable-next-line import/no-commonjs
module.exports = {
rules: {
// Override rule when needed
'no-trailing-spaces': ['error'], // Prettier disable it but Prettier doesn't work on <template>
'vue/html-closing-bracket-newline': [
'error',
{
multiline: 'always',
},
],
'vue/html-closing-bracket-spacing': ['error'],
},
};

0 comments on commit ac98c1a

Please sign in to comment.