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

setup linting for core

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