Skip to content

Commit

Permalink
增加编译
Browse files Browse the repository at this point in the history
增加编译
  • Loading branch information
naihe138 committed Nov 7, 2016
1 parent 4f885ed commit dc228c1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .babelrc
@@ -0,0 +1,5 @@
{
"presets": ["es2015", "stage-2"],
"plugins": ["transform-runtime"],
"comments": false
}
23 changes: 23 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,23 @@
module.exports = {
root: true,
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
env: {
'browser': true
},
globals: {
'define': true,
},
// add your custom rules here
'rules': {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow debugger during development
// 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
"semi": ["error", "always"]
}
}

0 comments on commit dc228c1

Please sign in to comment.