-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable strict mode on "roosterjs-editor-plugins" - Phase 1 (#1289)
* Strict AutoFormat & ContextMenu * Strict CustomReplace * CutPasteListChain plugin * Allow nullish dom attribute value * Strict HyperLink * Strict Watermark * Use individual tsconfigs * Check this.editor at start of onPluginEvent
- Loading branch information
Showing
15 changed files
with
190 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
packages/roosterjs-editor-plugins/lib/plugins/AutoFormat/tsconfig.child.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"compilerOptions": { | ||
"strict": true | ||
}, | ||
"extends": "../../../../tsconfig.json", | ||
"include": ["./**/*.ts"], | ||
"references": [{ "path": "../../../../roosterjs-editor-types/tsconfig.child.json" }] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
packages/roosterjs-editor-plugins/lib/plugins/ContextMenu/tsconfig.child.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"compilerOptions": { | ||
"strict": true | ||
}, | ||
"extends": "../../../../tsconfig.json", | ||
"include": ["./**/*.ts"], | ||
"references": [ | ||
{ "path": "../../../../roosterjs-editor-dom/tsconfig.child.json" }, | ||
{ "path": "../../../../roosterjs-editor-types/tsconfig.child.json" } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
packages/roosterjs-editor-plugins/lib/plugins/CustomReplace/tsconfig.child.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"compilerOptions": { | ||
"strict": true | ||
}, | ||
"extends": "../../../../tsconfig.json", | ||
"include": ["./**/*.ts"], | ||
"references": [{ "path": "../../../../roosterjs-editor-types/tsconfig.child.json" }] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
packages/roosterjs-editor-plugins/lib/plugins/CutPasteListChain/tsconfig.child.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"compilerOptions": { | ||
"strict": true | ||
}, | ||
"extends": "../../../../tsconfig.json", | ||
"include": ["./**/*.ts"], | ||
"references": [ | ||
{ "path": "../../../../roosterjs-editor-types/tsconfig.child.json" }, | ||
{ "path": "../../../../roosterjs-editor-api/tsconfig.child.json" } | ||
] | ||
} |
Oops, something went wrong.