We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9f3430 commit 21e26bbCopy full SHA for 21e26bb
package.json
@@ -6,7 +6,8 @@
6
"commitlint",
7
"config",
8
"team23",
9
- "conventional-commits"
+ "conventional-commits",
10
+ "esm"
11
],
12
"author": "TEAM23",
13
"license": "MIT",
@@ -18,6 +19,11 @@
18
19
"files": [
20
"src/main.js"
21
22
+ "exports": {
23
+ ".": {
24
+ "import": "./src/main.js"
25
+ }
26
+ },
27
"type": "module",
28
"dependencies": {
29
"@commitlint/config-conventional": "19.8.1"
src/main.js
@@ -1,4 +1,4 @@
1
-import * as config from '@commitlint/config-conventional';
+import config from '@commitlint/config-conventional';
2
3
// add 'sec' and 'release' types
4
const types = config.rules['type-enum'][2].concat(['sec', 'release']);
0 commit comments