Skip to content

Commit ac8a666

Browse files
committed
chore: fix lint issues
1 parent 7d151b6 commit ac8a666

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"root": true,
33
"extends": "@1stg",
44
"rules": {
5-
"@typescript-eslint/consistent-type-imports": 2
5+
"@typescript-eslint/consistent-type-imports": "error",
6+
"unicorn/prefer-top-level-await": "off"
67
}
78
}

src/.eslintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"rules": {
3-
"sonarjs/no-nested-template-literals": 0,
4-
"unicorn/filename-case": 0
3+
"sonarjs/no-nested-template-literals": "off",
4+
"unicorn/filename-case": "off"
55
}
66
}

src/get-changed-packages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import nodePath from 'path'
1+
import nodePath from 'node:path'
22

33
import _assembleReleasePlan from '@changesets/assemble-release-plan'
44
import { parse as parseConfig } from '@changesets/config'

src/run.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export async function runPublish({
9797

9898
// eslint-disable-next-line no-negated-condition -- do not change original source code logic
9999
if (tool !== 'root') {
100+
// eslint-disable-next-line regexp/no-super-linear-backtracking
100101
const newTagRegex = /New tag:\s+(@[^/]+\/[^@]+|[^/]+)@(\S+)/
101102
const packagesByName = new Map(packages.map(x => [x.packageJson.name, x]))
102103

0 commit comments

Comments
 (0)