Skip to content

Commit

Permalink
More eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
40thieves committed Dec 18, 2016
1 parent fd00947 commit 3d08745
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions .eslintignore
@@ -0,0 +1 @@
test/fixtures/*
15 changes: 13 additions & 2 deletions .eslintrc
Expand Up @@ -2,7 +2,7 @@
"extends": "airbnb/base",
"rules": {
"indent": ["error", "tab"],
"no-tabs": 0,
"no-tabs": 0,
"semi": [2, "never"],
"no-var": 0,
"vars-on-top": 0,
Expand All @@ -14,9 +14,20 @@
"comma-dangle": 0,
"object-curly-spacing": 0,
"max-nested-callbacks": [2, 5],
"arrow-parens": ["error", "always"]
"arrow-parens": ["error", "always"],
"arrow-body-style": 0
},
"env": {
"node": true
},
"globals": {
"jest": false,
"describe": false,
"it": false,
"beforeEach": false,
"afterEach": false,
"beforeAll": false,
"afterAll": false,
"expect": false
}
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -13,7 +13,7 @@
"build": "babel src --out-dir dist",
"prepublish": "npm test && npm run build",
"test": "jest",
"lint": "eslint src; exit 0"
"lint": "eslint src test; exit 0"
},
"author": "Alasdair Smith <ali@alasdairsmith.co.uk>",
"license": "MIT",
Expand Down

0 comments on commit 3d08745

Please sign in to comment.