Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Allow package to work with eslint ^2.13.0
[Eslint 2.13.0 made some changes to how relative paths work when extending](eslint/eslint#6450), which caused any linting that used our config to fail. By referencing the package name instead in our sub-configs, we resolve this erroneous behavior.
- Loading branch information
1 parent
aaeb078
commit 6ec0dd4
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
extends: '.', | ||
extends: 'habitrpg', | ||
env: { | ||
browser: true, | ||
commonjs: true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
extends: '.', | ||
extends: 'habitrpg', | ||
env: { | ||
mocha: true, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
extends: '.', | ||
extends: 'habitrpg', | ||
env: { | ||
node: true, | ||
}, | ||
|