Extract husky configuration
diff --git a/.eslintrc.js b/.eslintrc.js
index 51592fb..1e51508 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -64,6 +64,7 @@
'.eslintrc.js',
'.mocharc.js',
'babel.config.js',
+ 'husky.config.js',
'nyc.config.js',
],
env: {
diff --git a/husky.config.js b/husky.config.js
new file mode 100644
index 0000000..e4eb0ab
--- /dev/null
+++ b/husky.config.js
@@ -0,0 +1,6 @@
+module.exports = {
+ hooks: {
+ 'pre-commit': 'lint-staged',
+ },
+ skipCI: true,
+};
diff --git a/package.json b/package.json
index 6c493d7..1ed4a05 100644
--- a/package.json
+++ b/package.json
@@ -30,11 +30,6 @@
"web:build": "webpack --config=web/webpack.config.js --mode development",
"web:server": "webpack-dev-server --config=web/webpack.config.js --hot --mode development"
},
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged"
- }
- },
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",