Skip to content

Commit

Permalink
[FIX] vscode eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
mathix420 committed Oct 19, 2021
1 parent b5c4903 commit d069b6b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll": true,
},
"editor.rulers": [100],
Expand Down
1 change: 1 addition & 0 deletions packages/vue/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
extends: ['prettier', 'plugin:prettier/recommended'],
rules: {},
plugins: ['prettier'],
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module',
Expand Down
7 changes: 7 additions & 0 deletions packages/vue/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 100,
"tabWidth": 2
}
13 changes: 1 addition & 12 deletions packages/vue/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@ module.exports = function (validator) {
.then(() => delete this.errors[event.target.id])
.catch((err) => (this.errors[event.target.id] = err));
},
},
watch: {
fields: {
deep: true,
handler() {
this.$emit('update', {
fields: this.fields,
errors: this.errors,
});
},
},
},
}
};
};
1 change: 1 addition & 0 deletions packages/vuito/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
parser: '@typescript-eslint/parser',
extends: ['plugin:@typescript-eslint/recommended', 'prettier', 'plugin:prettier/recommended'],
plugin:['prettier'],
rules: {},
};

1 comment on commit d069b6b

@vercel
Copy link

@vercel vercel bot commented on d069b6b Oct 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.