Skip to content

Commit

Permalink
🆙 update: change recommended rule level
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Mar 22, 2019
1 parent f06b569 commit 9d310aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/configs/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ module.exports = {
},
plugins: ['vue-i18n'],
rules: {
'vue-i18n/no-html-messages': 'error',
'vue-i18n/no-missing-keys': 'error',
'vue-i18n/no-v-html': 'error'
'vue-i18n/no-html-messages': 'warn',
'vue-i18n/no-missing-keys': 'warn',
'vue-i18n/no-v-html': 'warn'
}
}
2 changes: 1 addition & 1 deletion scripts/update-recommended-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
plugins: ['vue-i18n'],
rules: {
${rules.filter(rule => rule.recommended)
.map(rule => `'${rule.id}': 'error',`)
.map(rule => `'${rule.id}': 'warn',`)
.join('\n ')}
},
}`)
Expand Down

0 comments on commit 9d310aa

Please sign in to comment.