Skip to content

Commit

Permalink
update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
groninge01 committed Sep 30, 2024
1 parent 49e975b commit 0ed4bfd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
3 changes: 2 additions & 1 deletion apps/frontend-v3/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
}
],
"types": ["vitest/globals"]
}
},
"include": ["**/*.ts", "**/*.tsx", "next-env.d.ts", ".next/types/**/*.ts"]
}
9 changes: 9 additions & 0 deletions packages/lib/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,
extends: ['@repo/eslint-config/library.js'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: true,
},
}
4 changes: 2 additions & 2 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"gen:theme-typings": "chakra-cli tokens ./shared/services/chakra/themes/bal/bal.theme.ts",
"graphql:gen": "DOTENV_CONFIG_PATH=./.env.local graphql-codegen -r dotenv/config -c ./shared/services/api/codegen.ts",
"postinstall": "npm run gen:theme-typings",
"lint": "next lint",
"lint:fix": "next lint --fix",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "pnpm test:unit & pnpm run test:integration",
"test:integration": "vitest -c ./vitest.config.integration.ts",
"test:unit": "vitest",
Expand Down

0 comments on commit 0ed4bfd

Please sign in to comment.