Skip to content

Commit

Permalink
project init
Browse files Browse the repository at this point in the history
  • Loading branch information
yaowei9363 committed Sep 24, 2019
1 parent eb697f7 commit 50861da
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 11,602 deletions.
36 changes: 36 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
module.exports = {
env: {
browser: true,
es6: true,
node: true,
},
extends: ['eslint:recommended', 'plugin:vue/essential'],
globals: {
__static: true,
},

parserOptions: {
// ecmaVersion: 2018,
sourceType: 'module',
},
plugins: ['html'],
rules: {
'global-require': 0,
'import/no-unresolved': 0,
'no-param-reassign': 0,
'no-shadow': 0,
'import/extensions': 0,
'import/newline-after-import': 0,
'no-multi-assign': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'max-len': 0,
'no-console': 0,
camelcase: 0,
'no-mixed-operators': 0,
'no-trailing-spaces': 0,
'no-underscore-dangle': 0,
'no-unused-expressions': 0,
semi: ['error', 'always'],
},
};
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module.exports = {
presets: [
'@vue/app'
]
}
};
Loading

0 comments on commit 50861da

Please sign in to comment.