Skip to content

Commit

Permalink
Fix: rewrite overwriting logic of config (fixes eslint#3915)
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Sep 28, 2015
1 parent 85c0f2f commit 581d888
Show file tree
Hide file tree
Showing 8 changed files with 863 additions and 296 deletions.
492 changes: 492 additions & 0 deletions lib/cascading-config-data.js

Large diffs are not rendered by default.

471 changes: 210 additions & 261 deletions lib/config.js

Large diffs are not rendered by default.

@@ -1,5 +1,8 @@
{
"ecmaFeatures": {
"globalReturn": false
},
"globals": {
"require": true
}
}
@@ -0,0 +1,5 @@
{
"env": {
"commonjs": false
}
}
@@ -0,0 +1,6 @@
{
"env": {
"node": true,
"commonjs": true
}
}
@@ -0,0 +1,6 @@
{
"env": {
"node": false,
"commonjs": false
}
}
@@ -0,0 +1,5 @@
{
"env": {
"node": false
}
}
171 changes: 136 additions & 35 deletions tests/lib/config.js

Large diffs are not rendered by default.

0 comments on commit 581d888

Please sign in to comment.