Skip to content

Commit

Permalink
Add whole dev files
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Jan 12, 2017
1 parent d3b745b commit 8d96027
Show file tree
Hide file tree
Showing 31 changed files with 1,522 additions and 33 deletions.
7 changes: 6 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"presets": ["es2015", "stage-2"],
"plugins": ["transform-runtime"],
"comments": false
"comments": false,
"env": {
"test": {
"plugins": [ "istanbul" ]
}
}
}
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build/*.js
src/assets/*/*.js
src/libs/eventor.js
src/components/x-swiper/swiper.dom.js
config/*.js
26 changes: 15 additions & 11 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
module.exports = {
'root': true,
extends: 'standard',
'env': {
'browser': true,
'node': true,
'es6': true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
'rules': {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
}
}
}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ examples/webpack/
.idea
dist/components-commonjs/
/site
/docs
/docs
*.vue.vux.*
src/locales/components.yml
src/locales/global_locales.yml
Loading

0 comments on commit 8d96027

Please sign in to comment.