Skip to content

Commit

Permalink
Cleanup eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Dec 22, 2024
1 parent 138fa40 commit e1531c4
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -106,23 +106,8 @@ export default [{
'allowTernary' : true,
}],
'@eslint-comments/no-unused-disable': 'warn',
/*
code style | readability
*/
// to many voids
// "@typescript-eslint/explicit-function-return-type": [
// "warn",
// {
// "allowExpressions": true,
// "allowTypedFunctionExpressions": true,
// "allowHigherOrderFunctions": true,
// "allowDirectConstAssertionInArrowFunctions": true,
// "allowConciseArrowFunctionExpressionsStartingWithVoid": true,
// "allowIIFEs": true
// }
// ],
/*
prevent unexpected behavior
/*
prevent unexpected behavior
*/
'@typescript-eslint/no-empty-object-type' : 'warn',
'@typescript-eslint/no-unsafe-function-type' : 'warn',
Expand All @@ -131,8 +116,8 @@ export default [{
'no-fallthrough' : ['warn', {'allowEmptyCase': true}],
// '@nothing-but/no-ignored-return': 'warn',
// '@nothing-but/no-return-to-void': 'warn',
/*
tests
/*
tests
*/
'@no-only-tests/no-only-tests': 'warn',
},
Expand Down

0 comments on commit e1531c4

Please sign in to comment.