-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds feature that enables matching everything _except_ the given pattern
e.g. usefull if you want to forbid dependencies to a module, but not from within that module itself ... or forbid relations to siblings, but not to itself and all other modules not being siblings
- Loading branch information
Showing
14 changed files
with
336 additions
and
221 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
"","test/fixtures/cjs/one_only_one.js","test/fixtures/cjs/one_only_two.js","test/fixtures/cjs/root_one.js","test/fixtures/cjs/root_two.js","test/fixtures/cjs/shared.js","test/fixtures/cjs/somedata.json","test/fixtures/cjs/sub/depindir.js","test/fixtures/cjs/sub/dir.js","test/fixtures/cjs/two_only_one.js","fs","http","path","" | ||
"test/fixtures/cjs/one_only_one.js","false","false","false","false","false","false","false","false","false","false","false","true","" | ||
"test/fixtures/cjs/one_only_two.js","false","false","false","false","false","false","false","false","false","false","false","true","" | ||
"test/fixtures/cjs/root_one.js","true","true","false","false","true","false","false","error","false","true","false","false","" | ||
"test/fixtures/cjs/root_two.js","false","false","false","false","true","true","false","false","true","false","true","false","" | ||
"test/fixtures/cjs/shared.js","false","false","false","false","false","false","false","false","false","false","false","true","" | ||
"test/fixtures/cjs/somedata.json","false","false","false","false","false","false","false","false","false","false","false","false","" | ||
"test/fixtures/cjs/sub/depindir.js","false","false","false","false","false","false","false","false","false","false","false","true","" | ||
"test/fixtures/cjs/sub/dir.js","false","false","false","false","false","false","error","false","false","false","false","true","" | ||
"test/fixtures/cjs/two_only_one.js","false","false","false","false","false","false","false","error","false","false","false","false","" | ||
"fs","false","false","false","false","false","false","false","false","false","false","false","false","" | ||
"http","false","false","false","false","false","false","false","false","false","false","false","false","" | ||
"path","false","false","false","false","false","false","false","false","false","false","false","false","" | ||
,test/fixtures/cjs/one_only_one.js,test/fixtures/cjs/one_only_two.js,test/fixtures/cjs/root_one.js,test/fixtures/cjs/root_two.js,test/fixtures/cjs/shared.js,test/fixtures/cjs/somedata.json,test/fixtures/cjs/sub/depindir.js,test/fixtures/cjs/sub/dir.js,test/fixtures/cjs/two_only_one.js,fs,http,path | ||
test/fixtures/cjs/one_only_one.js,false,false,false,false,false,false,false,false,false,false,false,true | ||
test/fixtures/cjs/one_only_two.js,false,false,false,false,false,false,false,false,false,false,false,true | ||
test/fixtures/cjs/root_one.js,true,true,false,false,true,false,false,error,false,true,false,false | ||
test/fixtures/cjs/root_two.js,false,false,false,false,true,true,false,false,true,false,true,false | ||
test/fixtures/cjs/shared.js,false,false,false,false,false,false,false,false,false,false,false,true | ||
test/fixtures/cjs/somedata.json,false,false,false,false,false,false,false,false,false,false,false,false | ||
test/fixtures/cjs/sub/depindir.js,false,false,false,false,false,false,false,false,false,false,false,true | ||
test/fixtures/cjs/sub/dir.js,false,false,false,false,false,false,true,false,false,false,false,true | ||
test/fixtures/cjs/two_only_one.js,false,false,false,false,false,false,false,error,false,false,false,false | ||
fs,false,false,false,false,false,false,false,false,false,false,false,false | ||
http,false,false,false,false,false,false,false,false,false,false,false,false | ||
path,false,false,false,false,false,false,false,false,false,false,false,false |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,6 +1,6 @@ | ||
|
||
error sub-not-allowed: test/fixtures/cjs/root_one.js => test/fixtures/cjs/sub/dir.js | ||
error sub-not-allowed: test/fixtures/cjs/sub/dir.js => test/fixtures/cjs/sub/depindir.js | ||
error sub-not-allowed: test/fixtures/cjs/two_only_one.js => test/fixtures/cjs/sub/dir.js | ||
|
||
3 violations found | ||
2 violations found | ||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.