Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Commit

Permalink
💥 breaking(lint): switch eslint-config-vue to eslint-coneslint-plugin…
Browse files Browse the repository at this point in the history
…-vue-libs
  • Loading branch information
kazupon committed Jun 7, 2017
1 parent b9cf346 commit 433ec30
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
16 changes: 9 additions & 7 deletions template/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"root": true,
"parser": "babel-eslint",
"extends": "vue"{{#flow}},
"plugins": ["flowtype"],
"root": true,{{#flow}}
"plugins": [
"flowtype"
],{{/flow}}
"extends": [
"plugin:vue-libs/recommended"{{#flow}},
"plugin:flowtype/recommended"{{/flow}}
],
"rules": {
"object-curly-spacing": ["error", "always"],
"no-multiple-empty-lines": ["error", { "max": 2, "maxBOF": 1 }],
"flowtype/define-flow-type": 1,
"flowtype/use-flow-type": 1
}{{/flow}}
}
}
3 changes: 1 addition & 2 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
"conventional-github-releaser": "^1.1.3",
{{/conventional}}
"eslint": "^3.14.1",
"eslint-config-vue": "^2.0.2",
"eslint-plugin-vue": "^2.0.0",
"eslint-plugin-vue-libs": "^1.2.0",
"eslint-loader": "^1.6.1",
{{#gitbook}}
"gitbook-cli": "^2.3.0",
Expand Down

0 comments on commit 433ec30

Please sign in to comment.