Skip to content

Commit e685618

Browse files
authored
chore: add missing 'use strict' directives (#4301)
1 parent db810b9 commit e685618

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

Diff for: @commitlint/cli/index.cjs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const path = require('node:path');
24

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

Diff for: @commitlint/cz-commitlint/index.cjs

+2
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);

Diff for: @commitlint/load/fixtures/basic-config/.commitlintrc.cjs

+2
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: {

Diff for: @commitlint/load/fixtures/basic-config/commitlint.config.cjs

+2
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: {

Diff for: @commitlint/load/fixtures/extends-config/.commitlintrc.cjs

+2
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: {

Diff for: @commitlint/load/fixtures/extends-config/commitlint.config.cjs

+2
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)