Skip to content

Commit 78f7a76

Browse files
committed
chore: add missing 'use strict' directives
1 parent 12281b6 commit 78f7a76

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

@commitlint/cli/index.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const path = require('path');
24

35
module.exports = path.join(__dirname, 'cli.js');

@commitlint/cz-commitlint/index.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
/** @type {Awaited<typeof import('./lib/index.js')>['prompter']} */
24
exports.prompter = async (...args) => {
35
(await import('./lib/index.js')).prompter(...args);

@commitlint/load/fixtures/basic-config/.commitlintrc.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
module.exports = {
24
formatter: '@commitlint/format',
35
rules: {

@commitlint/load/fixtures/basic-config/commitlint.config.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
module.exports = {
24
formatter: '@commitlint/format',
35
rules: {

@commitlint/load/fixtures/extends-config/.commitlintrc.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
module.exports = {
24
extends: ['./first-extended'],
35
rules: {

@commitlint/load/fixtures/extends-config/commitlint.config.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
module.exports = {
24
extends: ['./first-extended'],
35
rules: {

0 commit comments

Comments
 (0)