Skip to content

Commit

Permalink
fix/issue 97 eslint safer expression (#102)
Browse files Browse the repository at this point in the history
* fix(eslint): enable strict-boolean-expressions

* fix/issue 98/scss at rule (#99)

* fix: scss preset

* chore: format code

* chore: changeset

* Version Packages (#100)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix/issue 98/scss at rule (#99)

* fix: scss preset

* chore: format code

* chore: changeset

* Version Packages (#100)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: changeset

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored May 18, 2024
1 parent 2eaaaec commit d8fb332
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/healthy-countries-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@virtual-live-lab/eslint-config": patch
---

Enable tseslint/strict-boolean-expressions
7 changes: 7 additions & 0 deletions packages/eslint-config/src/base/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ const tsConfig = tseslint.config({
"@typescript-eslint/no-unsafe-declaration-merging": "off",
"@typescript-eslint/prefer-for-of": "off",
"@typescript-eslint/prefer-function-type": "off",
// #97
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
allowNumber: false,
},
],
},
});

Expand Down

0 comments on commit d8fb332

Please sign in to comment.