We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a866df9 commit 7a93060Copy full SHA for 7a93060
.gitignore
@@ -4,3 +4,6 @@ yarn-error.log*
4
5
# Dependency directories
6
node_modules/
7
+
8
+# Optional eslint cache
9
+.eslintcache
package.json
@@ -10,5 +10,29 @@
10
"dependencies": {
11
"commander": "^2.19.0",
12
"cosmiconfig": "^5.0.7"
13
+ },
14
+ "devDependencies": {
15
+ "eslint": "^5.11.1",
16
+ "eslint-config-airbnb-base": "^13.1.0",
17
+ "eslint-plugin-import": "^2.14.0",
18
+ "husky": "^1.3.1",
19
+ "lint-staged": "^8.1.0"
20
21
+ "husky": {
22
+ "hooks": {
23
+ "pre-commit": "lint-staged"
24
+ }
25
26
+ "lint-staged": {
27
+ "*.js": [
28
+ "eslint --fix",
29
+ "git add"
30
+ ]
31
32
+ "eslintConfig": {
33
+ "extends": "airbnb-base",
34
+ "rules": {
35
+ "no-console": "off"
36
37
}
38
0 commit comments