Skip to content
Snippets Groups Projects
Commit 479fabeb authored by Giildo's avatar Giildo
Browse files

:wrench: Update the eslint config to fix the @typescript-eslint/no-unused-expressions bug

parent c4fcb10e
Branches
Tags
No related merge requests found
Pipeline #293077 passed with stage
in 20 seconds
......@@ -24,6 +24,14 @@ export default [
'no-loss-of-precision': 'off',
'@typescript-eslint/ban-ts-comment': ['error', { 'ts-ignore': 'allow-with-description' }],
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-expressions': [
'error',
{
allowShortCircuit: true,
allowTernary: true,
allowTaggedTemplates: true,
},
],
'@typescript-eslint/no-unused-vars': [
'warn',
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment