Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #33 from afifkhaidir-tkpd/afif/fix_eslint_alias_path
Browse files Browse the repository at this point in the history
fix: change alias path
  • Loading branch information
Martino Christanto Khuangga authored Jun 24, 2019
2 parents 04c1bec + 0522084 commit 891ec44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/eslint-config-treats/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const path = require("path"),
ROOT_PATH = process.cwd(),
alias = require(path.join(ROOT_PATH, "./node_modules/treats/alias")),
alias = require(path.resolve(__dirname, "../treats/alias")),
resolver = {
map: Object.entries(alias),
extensions: [".ts", ".js", ".jsx", ".json"]
Expand Down

0 comments on commit 891ec44

Please sign in to comment.