Skip to content

Commit

Permalink
chore: fix lints (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentoanit committed May 8, 2024
1 parent 2e66366 commit 62f345f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const eslint = {
'plugin:eslint-comments/recommended',
'plugin:jest/all',
'plugin:jest-formatting/strict',
'plugin:sonarjs/recommended',
'plugin:sonarjs/recommended-legacy',
'plugin:unicorn/recommended',
],
plugins: [
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@
"@lavadrop/ensure": "1.0.0"
},
"devDependencies": {
"@jest/globals": "29.7.0",
"@scaleleap/semantic-release-config": "1.1.41",
"@types/jest": "29.5.12",
"@types/node": "20.12.10",
"@typescript-eslint/eslint-plugin": "7.8.0",
"@typescript-eslint/parser": "7.8.0",
"@scaleleap/semantic-release-config": "1.1.41",
"danger": "12.2.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
Expand All @@ -47,7 +49,6 @@
"eslint-plugin-simple-import-sort": "12.1.0",
"eslint-plugin-sonarjs": "1.0.3",
"eslint-plugin-unicorn": "52.0.0",
"danger": "12.2.0",
"jest": "29.7.0",
"rimraf": "5.0.5",
"ts-jest": "29.1.2",
Expand Down
2 changes: 2 additions & 0 deletions test/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { describe, expect, it } from '@jest/globals'

import {
AmazonMarketplace,
AmazonMarketplaceAdvertisingCountryCode,
Expand Down
2 changes: 2 additions & 0 deletions test/marketplaces.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { readdirSync } from 'node:fs'
import path from 'node:path'

import { describe, expect, it } from '@jest/globals'

import { amazonMarketplaces } from '../src/marketplaces'

const countryCodes = readdirSync(path.join(__dirname, '../src/marketplaces'))
Expand Down
2 changes: 2 additions & 0 deletions test/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { describe, expect, it } from '@jest/globals'

import { amazonMarketplaces } from '../src/marketplaces'
import {
assertMarketplaceHasAdvertising,
Expand Down

0 comments on commit 62f345f

Please sign in to comment.