Skip to content

Commit

Permalink
warn no-non-null-assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
turbocrime committed Jul 9, 2024
1 parent 5641af2 commit 4d38863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"format": "turbo format",
"format:prettier": "prettier --write .",
"format:syncpack": "syncpack format",
"lint": "turbo lint -- --max-warnings 0",
"lint": "turbo lint",
"lint:fix": "turbo lint -- --fix",
"lint:prettier": "prettier --check .",
"lint:rust": "turbo lint:rust",
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const penumbraEslintConfig = {
'@typescript-eslint/no-unnecessary-condition': ['error', { allowConstantLoopConditions: true }],
'@typescript-eslint/no-invalid-void-type': 'off',
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true }],
'@typescript-eslint/no-non-null-assertion': 'warn',
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
// Catches untyped let declarations
Expand Down

0 comments on commit 4d38863

Please sign in to comment.