Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
dogstarTest committed Dec 12, 2018
1 parent 561d264 commit 3945551
Show file tree
Hide file tree
Showing 7 changed files with 2,299 additions and 2,242 deletions.
5 changes: 5 additions & 0 deletions .babelrc
@@ -0,0 +1,5 @@
{
"presets": [
"@vue/app"
]
}
9 changes: 9 additions & 0 deletions .editorconfig
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
Empty file added .eslintignore
Empty file.
19 changes: 19 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,19 @@
module.exports = {
root: true,
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
rules: {
// allow async-await
'generator-star-spacing': 'off',
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/no-parsing-error': [2, { 'x-invalid-end-tag': false }],
'no-undef': 'off',
'camelcase': 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}
5 changes: 5 additions & 0 deletions .postcssrc.js
@@ -0,0 +1,5 @@
module.exports = {
plugins: {
autoprefixer: {}
}
}
5 changes: 5 additions & 0 deletions .travis.yml
@@ -0,0 +1,5 @@
language: node_js
node_js: stable
script: npm run lint
notifications:
email: false

0 comments on commit 3945551

Please sign in to comment.