Skip to content

Commit

Permalink
Merge pull request #3104 from continuedev/dallin/gui-null-warnings
Browse files Browse the repository at this point in the history
Null check warnings for GUI
  • Loading branch information
sestinj authored Nov 27, 2024
2 parents 811b482 + 7417757 commit b2f12ac
Show file tree
Hide file tree
Showing 4 changed files with 3,748 additions and 139 deletions.
32 changes: 32 additions & 0 deletions gui/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"strict-null-checks",
"eslint-plugin-react"
],
"parserOptions": {
"project": "gui/tsconfig.strictNullChecks.json"
},
// "extends": [
// "eslint:recommended",
// "plugin:@typescript-eslint/recommended",
// "plugin:@typescript-eslint/recommended-requiring-type-checking"
// "plugin:react/recommended"
// ],
"rules": {
"strict-null-checks/all": "warn"
},
"overrides": [
{
"files": ["src/**/*.{js,ts,jsx,tsx}"]
}
],
"ignorePatterns": ["dist/**/*"],
"env": {
"browser": true,
"node": true,
"es6": true
}
}
Loading

0 comments on commit b2f12ac

Please sign in to comment.