-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(load): adds test for importing plugins from an extended config
- Loading branch information
Julius Celik
committed
Jun 26, 2020
1 parent
38537d9
commit 57c8578
Showing
4 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
@commitlint/load/fixtures/extends-with-plugins/commitlint.config.js
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
extends: ['./config-with-plugins'], | ||
}; |
4 changes: 4 additions & 0 deletions
4
@commitlint/load/fixtures/extends-with-plugins/config-with-plugins/commitlint.config.js
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
extends: [], | ||
plugins: ['example', '@scope/example'] | ||
}; |
1 change: 1 addition & 0 deletions
1
@commitlint/load/fixtures/extends-with-plugins/config-with-plugins/index.js
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('./commitlint.config.js'); |
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