Skip to content

Commit

Permalink
build: fix up eslint config for imports + typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Dec 10, 2019
1 parent 8870594 commit d3fc077
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,19 @@
"node": true
},
"extends": [
"airbnb-base"
"airbnb-base",
"plugin:import/typescript"
],
"rules": {
"class-methods-use-this": "off",
"import/extensions": [
"error",
"always",
{
"js": "never",
"ts": "never"
}
],
"import/no-cycle": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": ["packages/**/test/**/*_spec.ts"] }],
"mocha/no-exclusive-tests": "error",
Expand Down

0 comments on commit d3fc077

Please sign in to comment.