Skip to content

Commit

Permalink
fix: add eslint for js sdk (#258)
Browse files Browse the repository at this point in the history
* fix: eslint
  • Loading branch information
m30m authored Nov 22, 2024
1 parent 91e282b commit 979e90a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@ repos:
entry: npm run --prefix scripts/limonade lint
pass_filenames: false
language: system
files: scripts/limonade
files: scripts/limonade/
- id: eslint-js-sdk
name: eslint js sdk
entry: npm run --prefix sdk/js lint
pass_filenames: false
language: system
files: sdk/js/
- id: eslint-dex-router
name: eslint dex-router
entry: npm run --prefix scripts/dex-router lint
Expand Down
1 change: 0 additions & 1 deletion sdk/js/src/examples/simpleSearcherLimo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
} from "@solana/web3.js";

import * as limo from "@kamino-finance/limo-sdk";
import { Decimal } from "decimal.js";
import {
getMintDecimals,
getPdaAuthority,
Expand Down
1 change: 0 additions & 1 deletion sdk/js/src/examples/testingSearcherLimo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
makeParser,
SimpleSearcherLimo,
} from "./simpleSearcherLimo";
import { Decimal } from "decimal.js";

class SearcherLimo extends SimpleSearcherLimo {
private readonly fillRate: anchor.BN;
Expand Down

0 comments on commit 979e90a

Please sign in to comment.