Skip to content

Commit

Permalink
fix: Relax lint for optional chaining and nullish coallescing for daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Feb 15, 2024
1 parent 4a4ae54 commit ff58c06
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
"eslintConfig": {
"extends": [
"plugin:@endo/internal"
"plugin:@endo/daemon"
]
},
"ava": {
Expand Down
2 changes: 1 addition & 1 deletion packages/daemon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
},
"eslintConfig": {
"extends": [
"plugin:@endo/internal"
"plugin:@endo/daemon"
]
},
"ava": {
Expand Down
7 changes: 7 additions & 0 deletions packages/eslint-plugin/lib/configs/daemon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
extends: ['plugin:@endo/internal'],
rules: {
'@endo/no-optional-chaining': 'off',
'@endo/no-nullish-coalescing': 'off',
},
};

0 comments on commit ff58c06

Please sign in to comment.