Skip to content
Snippets Groups Projects
Commit 84230f0b authored by Yi Ding's avatar Yi Ding
Browse files

setup linting for core

parent dece0939
Branches
Tags
No related merge requests found
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
"main": "src/index.ts", "main": "src/index.ts",
"types": "src/index.ts", "types": "src/index.ts",
"scripts": { "scripts": {
"lint": "eslint .",
"test": "jest" "test": "jest"
}, },
"devDependencies": { "devDependencies": {
......
...@@ -2,6 +2,12 @@ module.exports = { ...@@ -2,6 +2,12 @@ module.exports = {
extends: ["next", "turbo", "prettier"], extends: ["next", "turbo", "prettier"],
rules: { rules: {
"@next/next/no-html-link-for-pages": "off", "@next/next/no-html-link-for-pages": "off",
"turbo/no-undeclared-env-vars": [
"error",
{
allowList: ["OPENAI_API_KEY"],
},
],
}, },
parserOptions: { parserOptions: {
babelOptions: { babelOptions: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment