Skip to content

Commit

Permalink
🚧 Fix problems when committing files that touch environment variables (…
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista authored Jan 29, 2024
1 parent 81d7eee commit 3f7bdda
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"jest": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"plugins": ["@typescript-eslint", "prettier", "turbo"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
Expand Down Expand Up @@ -42,6 +42,10 @@
}
],

"@typescript-eslint/no-explicit-any": "warn"
"@typescript-eslint/no-explicit-any": "warn",

// Since none of our environment variables affect the build output, we're safe
// to ignore any errors related to undeclared environment variables
"turbo/no-undeclared-env-vars": "warn"
}
}

0 comments on commit 3f7bdda

Please sign in to comment.