mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-03 11:08:11 +08:00
Remove usage of 'null' in favor of 'undefined'
This commit is contained in:
@@ -79,6 +79,7 @@ module.exports = {
|
||||
"@typescript-eslint/consistent-type-assertions": ["error", { assertionStyle: "as", objectLiteralTypeAssertions: "never" }],
|
||||
"@typescript-eslint/consistent-indexed-object-style": ["error", "record"],
|
||||
"@typescript-eslint/consistent-generic-constructors": ["error", "constructor"],
|
||||
"@typescript-eslint/ban-types": ["error", { types: { null: "Use `undefined` instead." } }],
|
||||
|
||||
// Import plugin config (used to intelligently validate module import statements)
|
||||
"import/prefer-default-export": "off",
|
||||
|
||||
Reference in New Issue
Block a user