Skip to content

Commit 8910757

Browse files
authored
Merge pull request #27 from kinde-oss/chore/lint-fixes
chore: lint fixes
2 parents ca9a529 + 1740fbd commit 8910757

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ node_modules
1111
pnpm-lock.yaml
1212
package-lock.json
1313
yarn.lock
14+
15+
dist

.github/workflows/build-test-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- name: Enabling pre-post scripts
3232
run: pnpm config set enable-pre-post-scripts true
3333
- run: pnpm install
34+
- run: pnpm lint
3435
- name: Cache pnpm modules
3536
uses: actions/cache@v2
3637
with:

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ coverage/
1212
pnpm-lock.yaml
1313
package-lock.json
1414
yarn.lock
15+
dist

src/tests/KindeSDK.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// file deepcode ignore HardcodedNonCryptoSecret/test: <test file>
12
import {describe, it, expect, afterEach, vi} from 'vitest';
23
import * as kindeSDK from '$lib/KindeSDK.js';
34
import {Configuration} from '@kinde-oss/kinde-typescript-sdk';
@@ -19,7 +20,6 @@ describe('KindeSDK', () => {
1920
logoutRedirectURL: 'http://localhost:3000',
2021
redirectURL: 'http://localhost:3000/api/auth/callback',
2122
appBase: 'http://localhost:3000',
22-
// file deepcode ignore HardcodedNonCryptoSecret/test: <please specify a reason of ignoring this>
2323
clientSecret: 'asdfgaskjasfkjasfljasflajslfjaslfjalsfjalskfjlas',
2424
loginRedirectURL: 'http://localhost:3000/dashboard',
2525
authUsePKCE: false,

src/tests/sessionStorage.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import {describe, beforeEach, expect, it} from 'vitest';
1+
import {describe, expect, it} from 'vitest';
22
import {sessionStorage} from '../lib/sessionStorage/index.js';
3-
import {type SessionManager} from '@kinde-oss/kinde-typescript-sdk';
43

54
describe('SessionStorage', () => {
65
describe('setSessionItem', () => {

0 commit comments

Comments
 (0)