Skip to content

Commit

Permalink
fix: add default js parser
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru committed Nov 22, 2021
1 parent 560e67b commit d2f4679
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/basic/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ module.exports = {
'import/no-duplicates': 'off',
},
},
{
files: ['*.js'],
rules: {
'@typescript-eslint/no-var-requires': 'off',
},
},
{
files: ['scripts/**/*.*'],
rules: {
Expand Down
1 change: 1 addition & 0 deletions packages/typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ module.exports = {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-var-requires': 'off',
},
}
3 changes: 3 additions & 0 deletions packages/vue-js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ module.exports = {
'plugin:vue/vue3-recommended',
'@hannoeru/eslint-config-basic',
],
parserOptions: {
parser: '@babel/eslint-parser',
},
rules: {
'vue/max-attributes-per-line': ['warn', { singleline: 5 }],
// 'vue/html-self-closing': 'off',
Expand Down

0 comments on commit d2f4679

Please sign in to comment.