Skip to content

Commit bc7b81e

Browse files
committed
Removed unnecessary semicolon to make linter happy
1 parent 42159c1 commit bc7b81e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: lib/linters/plugin-yaml-linter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default async function (argv, tap) {
99
const { path: pluginPath, silent } = argv
1010
const pluginYaml = pluginYamlParser(pluginPath)
1111
const ajv = new Ajv({ allErrors: true, strictTypes: false, jsonPropertySyntax: true })
12-
const __dirname = import.meta.dirname;
12+
const __dirname = import.meta.dirname
1313
const schema = load(readFileSync(join(__dirname, '..', 'plugin-yaml-schema.yml'), 'utf8'))
1414
const validator = ajv.compile(schema)
1515

Diff for: test/example-linter.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { t as tap } from 'tap'
66

77
import linter from '../lib/linters/example-linter.js'
88

9-
const __dirname = import.meta.dirname;
9+
const __dirname = import.meta.dirname
1010
const fixtures = join(__dirname, 'example-linter')
1111

1212
describe('example-linter', () => {

Diff for: test/plugin-yaml-linter.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { t as tap } from 'tap'
66

77
import linter from '../lib/linters/plugin-yaml-linter.js'
88

9-
const __dirname = import.meta.dirname;
9+
const __dirname = import.meta.dirname
1010
const fixtures = join(__dirname, 'plugin-yaml-linter')
1111

1212
describe('plugin-yaml-linter', () => {

Diff for: test/readme-version-number-linter.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { join } from 'path'
77

88
import linter from '../lib/linters/readme-version-number-linter.js'
99

10-
const __dirname = import.meta.dirname;
10+
const __dirname = import.meta.dirname
1111
const fixtures = join(__dirname, 'readme-version-number-linter')
1212

1313
// The fixtures are checked as git repos, and then renamed from .git to git so

0 commit comments

Comments
 (0)