Skip to content

Commit

Permalink
Fix issue that triggered 'eslint(import/no-unresolved)' errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mortnod committed Jul 8, 2019
1 parent 99a18f6 commit 36ebb0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions javascript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,5 @@ const jsRules = require("./rules");
module.exports = {
extends: ["airbnb-base", "plugin:import/errors", "plugin:import/warnings"],
parser: "babel-eslint",
settings: {
"import/resolver": {
node: {
extensions: [".js", ".jsx", ".ts", ".tsx"]
}
}
},
rules: jsRules
};
7 changes: 7 additions & 0 deletions typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,12 @@ module.exports = {
rules: {
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/camelcase": false
},
settings: {
"import/resolver": {
node: {
extensions: [".js", ".jsx", ".ts", ".tsx"]
}
}
}
};

0 comments on commit 36ebb0a

Please sign in to comment.