Skip to content

Commit

Permalink
feat(eslint): feat(eslint): set unicorn/no-null rule to off (#147)
Browse files Browse the repository at this point in the history
Just set the `unicorn/no-null` rule to `off`.
  • Loading branch information
mheob committed Nov 7, 2023
1 parent c9138af commit 1314abd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/happy-rules-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@mheob/eslint-config': minor
---

set `unicorn/no-null` rule to `off`
2 changes: 1 addition & 1 deletion packages/eslint-config/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const config: Linter.Config = {
'unicorn/no-array-for-each': 'off',
'unicorn/no-array-reduce': 'off',
'unicorn/no-negated-condition': 'off',
'unicorn/no-null': 'off',
'unicorn/prevent-abbreviations': [
'error',
{
Expand All @@ -70,7 +71,6 @@ const config: Linter.Config = {
files: ['*.js', '*.ts'],
rules: {
'unicorn/filename-case': ['error', { case: 'camelCase' }],
'unicorn/no-null': 'off',
},
},
{
Expand Down

0 comments on commit 1314abd

Please sign in to comment.