Skip to content

Commit

Permalink
fix: Allow package to work with eslint ^2.13.0
Browse files Browse the repository at this point in the history
[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
crookedneighbor committed Jul 7, 2016
1 parent aaeb078 commit 6ec0dd4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion babel.js
@@ -1,5 +1,5 @@
module.exports = {
extends: './es6',
extends: 'habitrpg/es6',
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module',
Expand Down
2 changes: 1 addition & 1 deletion browser.js
@@ -1,5 +1,5 @@
module.exports = {
extends: '.',
extends: 'habitrpg',
env: {
browser: true,
commonjs: true,
Expand Down
2 changes: 1 addition & 1 deletion mocha.js
@@ -1,5 +1,5 @@
module.exports = {
extends: '.',
extends: 'habitrpg',
env: {
mocha: true,
},
Expand Down
2 changes: 1 addition & 1 deletion server.js
@@ -1,5 +1,5 @@
module.exports = {
extends: '.',
extends: 'habitrpg',
env: {
node: true,
},
Expand Down

0 comments on commit 6ec0dd4

Please sign in to comment.