forked from conventional-changelog/commitlint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: bump cosmiconfig version and conditionally support mjs config (c…
…onventional-changelog#3747) * feat(load): use cosmiconfig-typescript-loader v5 to remove ts-node dependency for @commitlint/load * feat: conditionally support loading mjs config based on the node version * chore: update 'test-ci' command * chore: add yarn cache to ci * chore: swap node and checkout order. Remove ownership workaround * chore(load): remove duplicate tests * docs: add mjs config files to README
- Loading branch information
1 parent
f33be70
commit a2b65fc
Showing
26 changed files
with
123 additions
and
119 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends: | ||
- './first-extended' | ||
rules: | ||
zero: [0, 'never'] |
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,6 @@ | ||
module.exports = { | ||
extends: ['./first-extended'], | ||
rules: { | ||
zero: [0, 'never'], | ||
}, | ||
}; |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ module.exports = { | |
rules: { | ||
zero: [0, 'never'], | ||
}, | ||
}; | ||
}; |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
"rules": { | ||
"zero": [0, "never"] | ||
} | ||
} | ||
} |
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,6 @@ | ||
export default { | ||
extends: ['./first-extended'], | ||
rules: { | ||
zero: [0, 'never'], | ||
}, | ||
}; |
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 @@ | ||
extends: | ||
- './first-extended' | ||
rules: | ||
zero: [0, 'never'] |
2 changes: 1 addition & 1 deletion
2
.../recursive-extends-yaml/.commitlintrc.yml → ...nt/load/fixtures/config/.commitlintrc.yml
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,4 +1,4 @@ | ||
extends: | ||
- './first-extended' | ||
rules: | ||
zero: [0, 'never'] | ||
zero: [0, 'never'] |
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,6 @@ | ||
module.exports = { | ||
extends: ['./first-extended'], | ||
rules: { | ||
zero: [0, 'never'], | ||
}, | ||
}; |
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,6 @@ | ||
module.exports = { | ||
extends: ['./first-extended'], | ||
rules: { | ||
zero: [0, 'never'], | ||
}, | ||
}; |
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,6 @@ | ||
export default { | ||
extends: ['./first-extended'], | ||
rules: { | ||
zero: [0, 'never'], | ||
}, | ||
}; |
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 |
---|---|---|
|
@@ -10,4 +10,4 @@ | |
] | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions
6
@commitlint/load/fixtures/recursive-extends-js/first-extended/index.js
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
@commitlint/load/fixtures/recursive-extends-js/first-extended/second-extended/index.js
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
@commitlint/load/fixtures/recursive-extends-package/first-extended/index.js
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
@commitlint/load/fixtures/recursive-extends-package/first-extended/second-extended/index.js
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
@commitlint/load/fixtures/recursive-extends-ts/commitlint.config.ts
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
2 changes: 1 addition & 1 deletion
2
@commitlint/load/fixtures/recursive-extends-ts/first-extended/index.ts
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
6 changes: 0 additions & 6 deletions
6
@commitlint/load/fixtures/recursive-extends-yaml/first-extended/index.js
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
@commitlint/load/fixtures/recursive-extends-yaml/first-extended/second-extended/index.js
This file was deleted.
Oops, something went wrong.
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
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
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