Skip to content

Commit

Permalink
Added link to module-alias in README
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmortensen committed Mar 4, 2022
1 parent feb1668 commit 43cebdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If you don't have an `.eslintrc.js` configuration in your project, then wdio-esl
]],
```

If you're using the [module-alias]() module, which lets you configure aliases to replace relative paths, you'll need to pass that into the eslinter configuration, if you don't already have an `eslintrc` config file in your project. Below is an example:
If you're using the [module-alias](https://www.npmjs.com/package/module-alias) module, which lets you configure aliases to replace relative paths, you'll need to pass that into the eslinter configuration, if you don't already have an `eslintrc` config file in your project. Below is an example:

```
services: ['chromedriver', [
Expand Down Expand Up @@ -69,7 +69,7 @@ $ npx wdio
```

NOTE: To also have the eslinter service use an existing eslintrc configuration in your project, set `includeProjectEslintrc` to true in the wdio.conf.js configuration services array.


### If you already use eslint and have an existing eslintrc

Expand Down

0 comments on commit 43cebdc

Please sign in to comment.