Skip to content
Permalink
Browse files

yarn add --dev -W husky, lint-staged, eslint, add .eslintrc.json

  • Loading branch information...
jiska committed Aug 15, 2019
1 parent c1035ab commit fe80208fb6efd8c55082927ab2ed9a74b0698f5e
Showing with 498 additions and 14 deletions.
  1. +23 −0 .eslintrc.json
  2. +14 −1 package.json
  3. +461 −13 yarn.lock
@@ -0,0 +1,23 @@
{
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:vue/essential"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"plugins": [
"vue"
],
"rules": {
}
}
@@ -7,5 +7,18 @@
"private": true,
"workspaces": [
"packages/*"
]
],
"devDependencies": {
"eslint": "^6.1.0",
"husky": "^3.0.3",
"lint-staged": "^9.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,vue}": "eslint"
}
}

0 comments on commit fe80208

Please sign in to comment.
You can’t perform that action at this time.