Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Version 3 / Vue3 Support #118

Closed
wants to merge 11 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 12 additions & 34 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,46 +1,24 @@
// http://eslint.org/docs/user-guide/configuring

module.exports = {

root: true,

'env': {
'mocha': true, // Used for unit tests.
globals: {
expect: true, // Used for unit tests.
},

'globals': {
'expect': true, // Used for unit tests.
'sinon': true, // Used for unit tests.
},

parserOptions: {
sourceType: 'module'
sourceType: "module",
},

extends: 'standard',

plugins: [

// Required to lint *.vue files.
// https://github.com/BenoitZugmeyer/eslint-plugin-html/tree/40c728#usage
'html',

],

extends: ["prettier"],
plugins: ["html", "prettier"],
rules: {

// https://eslint.org/docs/user-guide/migrating-to-4.0.0#-the-no-multi-spaces-rule-is-more-strict-by-default
'no-multi-spaces': ['error', {'ignoreEOLComments': true}],

"no-multi-spaces": ["error", { ignoreEOLComments: true }],
// Require or disallow trailing commas http://eslint.org/docs/rules/comma-dangle
'comma-dangle': ['error', 'always-multiline'],

"comma-dangle": ["error", "always-multiline"],
// Limit multiple empty lines http://eslint.org/docs/rules/no-multiple-empty-lines
'no-multiple-empty-lines': ['error', { 'max': 2 }],

"no-multiple-empty-lines": ["error", { max: 2 }],
// Disable padding within blocks http://eslint.org/docs/rules/padded-blocks.html
'padded-blocks': 'off',

}

}
"padded-blocks": "off",
"prettier/prettier": ["error"],
},
};
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/.tmp/
/node_modules/

dist
npm-debug.log
manifest.json
*.DS_Store
Expand All @@ -9,5 +9,6 @@ manifest.json
.*.swp
.*.pid
*.mo
./coverage

.tm_properties
Loading