Skip to content

Commit

Permalink
refactor to use vue-cli 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke authored and gamalielhere committed Aug 29, 2018
1 parent ee7d90e commit bdafa6a
Show file tree
Hide file tree
Showing 72 changed files with 6,965 additions and 7,012 deletions.
18 changes: 0 additions & 18 deletions .babelrc

This file was deleted.

3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8
4 changes: 1 addition & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/build/
/config/
/dist/
/*.js
/test/unit/coverage/
/tests/unit/coverage/
42 changes: 12 additions & 30 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,38 +1,20 @@
// https://eslint.org/docs/user-guide/configuring

module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint'
},
env: {
browser: true,
node: true
},
extends: [
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
'plugin:vue/recommended',
//https://github.com/prettier/prettier
'plugin:prettier/recommended',
'eslint:recommended'
],
// required to lint *.vue files
plugins: [
'vue'
],
// add your custom rules here
extends: ['plugin:vue/recommended', '@vue/prettier', 'eslint:recommended'],
rules: {
// allow async-await
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-else-return': ['error', { allowElseIf: true }],
'arrow-parens': 'off',
'generator-star-spacing': 'off',
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
semi: 'off',
'prefer-const': 'error',
'no-var': 'error'
},
globals: {
"Buffer": false,
"module": false,
"require": false,
"__dirname": false,
"exports": false,
"process": false
parserOptions: {
parser: 'babel-eslint'
}
}
};
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
/test/unit/coverage/
/test/e2e/reports/
/tests/unit/coverage/
selenium-debug.log

# Editor directories and files
Expand Down
5 changes: 0 additions & 5 deletions .prettierrc

This file was deleted.

3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: ['@vue/app']
};
41 changes: 0 additions & 41 deletions build/build.js

This file was deleted.

54 changes: 0 additions & 54 deletions build/check-versions.js

This file was deleted.

Binary file removed build/logo.png
Binary file not shown.
107 changes: 0 additions & 107 deletions build/utils.js

This file was deleted.

22 changes: 0 additions & 22 deletions build/vue-loader.conf.js

This file was deleted.

Loading

0 comments on commit bdafa6a

Please sign in to comment.