Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .metadata/samples.json
Original file line number Diff line number Diff line change
Expand Up @@ -7297,7 +7297,7 @@
"2. Copy Name allows to copy the name of the document without using the currently available rename functionality."
],
"creationDateTime": "2023-10-04",
"updateDateTime": "2024-08-28",
"updateDateTime": "2025-02-27",
"products": [
"SharePoint"
],
Expand All @@ -7308,7 +7308,7 @@
},
{
"key": "SPFX-VERSION",
"value": "1.19.0"
"value": "1.20.0"
}
],
"tags": [],
Expand Down
34 changes: 1 addition & 33 deletions samples/react-utility-extensions/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,39 +20,7 @@ module.exports = {
'@rushstack/security/no-unsafe-regexp': 1,
// STANDARDIZED BY: @typescript-eslint\eslint-plugin\dist\configs\recommended.json
'@typescript-eslint/adjacent-overload-signatures': 1,
// STANDARDIZED BY: @typescript-eslint\eslint-plugin\dist\configs\recommended.json
//
// CONFIGURATION: By default, these are banned: String, Boolean, Number, Object, Symbol
'@typescript-eslint/ban-types': [
1,
{
'extendDefaults': false,
'types': {
'String': {
'message': 'Use \'string\' instead',
'fixWith': 'string'
},
'Boolean': {
'message': 'Use \'boolean\' instead',
'fixWith': 'boolean'
},
'Number': {
'message': 'Use \'number\' instead',
'fixWith': 'number'
},
'Object': {
'message': 'Use \'object\' instead, or else define a proper TypeScript type:'
},
'Symbol': {
'message': 'Use \'symbol\' instead',
'fixWith': 'symbol'
},
'Function': {
'message': 'The \'Function\' type accepts any function-like value.\nIt provides no type safety when calling the function, which can be a common source of bugs.\nIt also accepts things like class declarations, which will throw at runtime as they will not be called with \'new\'.\nIf you are expecting the function to accept certain arguments, you should explicitly define the function shape.'
}
}
}
],

// RATIONALE: Code is more readable when the type of every variable is immediately obvious.
// Even if the compiler may be able to infer a type, this inference will be unavailable
// to a person who is reviewing a GitHub diff. This rule makes writing code harder,
Expand Down
11 changes: 6 additions & 5 deletions samples/react-utility-extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@ N/A

## Version history

| Version | Date | Comments |
| ------- | ------------ | ----------------------- |
| 1.0 | Oct 22, 2023 | Initial release |
| 1.1 | Aug 28, 2024 | Upgraded to SPFx 1.19.0 |
| 1.2 | Oct 11, 2024 | Upgraded to SPFx 1.20.0 |
| Version | Date | Comments |
| ------- | ------------ | ---------------------------------------------- |
| 1.0 | Oct 22, 2023 | Initial release |
| 1.1 | Aug 28, 2024 | Upgraded to SPFx 1.19.0 |
| 1.2 | Oct 11, 2024 | Upgraded to SPFx 1.20.0 |
| 1.3 | Oct 11, 2024 | Bug fix for missing site address for root site |

## Help

Expand Down
4 changes: 2 additions & 2 deletions samples/react-utility-extensions/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"2. Copy Name allows to copy the name of the document without using the currently available rename functionality."
],
"creationDateTime": "2023-10-04",
"updateDateTime": "2024-08-28",
"updateDateTime": "2025-02-27",
"products": [
"SharePoint"
],
Expand All @@ -22,7 +22,7 @@
},
{
"key": "SPFX-VERSION",
"value": "1.19.0"
"value": "1.20.0"
}
],
"tags": [],
Expand Down
Loading
Loading