Skip to content

Commit

Permalink
Merge pull request #6105 from dnnsoftware/dependabot/npm_and_yarn/esl…
Browse files Browse the repository at this point in the history
…int-plugin-react-7.35.0

Bump eslint-plugin-react from 7.13.0 to 7.35.0
  • Loading branch information
valadas authored Sep 25, 2024
2 parents 2e194e5 + 1079d1b commit 2bb650f
Show file tree
Hide file tree
Showing 61 changed files with 711 additions and 145 deletions.
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/AdminLogs.Web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module.exports = {
"space-before-blocks": "warn",
"no-multiple-empty-lines": "warn",
"react/jsx-equals-spacing": ["warn", "never"],
"react/prop-types": "warn",
"id-match": ["error", "^([A-Za-z0-9_])+$", {"properties": true}],
"no-useless-escape": "off"
}
Expand Down
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/AdminLogs.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"es6-object-assign": "1.1.0",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"i18n-webpack-plugin": "1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/Bundle.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"es6-promise": "4.2.8",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"json-loader": "^0.5.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^22.21.0",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"less": "4.1.3",
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Extensions.Web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
"space-before-blocks": "warn",
"no-multiple-empty-lines": "warn",
"react/jsx-equals-spacing": ["warn", "never"],
"react/prop-types": "warn",
"id-match": ["error", "^([A-Za-z0-9_])+$", {"properties": true}]
}
};
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/Extensions.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"css-loader": "^7.1.2",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"less": "4.1.3",
Expand Down
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/Licensing.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"es6-object-assign": "1.1.0",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"jwt-decode": "2.2.0",
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Pages.Web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ module.exports = {
"space-before-blocks": "warn",
"no-multiple-empty-lines": "warn",
"react/jsx-equals-spacing": ["warn", "never"],
"react/prop-types": "warn",
"id-match": ["error", "^([A-Za-z0-9_])+$", {"properties": true}]
}
};
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/Pages.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"eslint": "^7.32.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"jest": "^28.1.3",
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Prompt.Web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ module.exports = {
"space-before-blocks": "warn",
"no-multiple-empty-lines": "warn",
"react/jsx-equals-spacing": ["warn", "never"],
"react/prop-types": "warn",
"id-match": ["error", "^([A-Za-z0-9_])+$", {"properties": true}],
"no-useless-escape": "off",
"jest/no-disabled-tests": "warn",
Expand Down
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/Prompt.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"eslint-loader": "4.0.2",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-jest": "^22.21.0",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"extract-text-webpack-plugin": "^3.0.2",
"fbjs": "*",
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Roles.Web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ module.exports = {
"space-before-blocks": "warn",
"no-multiple-empty-lines": "warn",
"react/jsx-equals-spacing": ["warn", "never"],
"react/prop-types": "warn",
"id-match": ["error", "^([A-Za-z0-9_])+$", {"properties": true}]
}
};
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/Roles.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"es6-object-assign": "^1.1.0",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"jwt-decode": "2.2.0",
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Security.Web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
"space-before-blocks": "warn",
"no-multiple-empty-lines": "warn",
"react/jsx-equals-spacing": ["warn", "never"],
"react/prop-types": "warn",
"id-match": ["error", "^([A-Za-z0-9_])+$", {"properties": true}]
}
};
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/Security.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"css-loader": "^7.1.2",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"jwt-decode": "2.2.0",
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Seo.Web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
"space-before-blocks": "warn",
"no-multiple-empty-lines": "warn",
"react/jsx-equals-spacing": ["warn", "never"],
"react/prop-types": "warn",
"id-match": ["error", "^([A-Za-z0-9_])+$", {"properties": true}]
}
};
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/Seo.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"es6-object-assign": "1.1.0",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"jwt-decode": "2.2.0",
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Servers.Web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module.exports = {
"space-before-blocks": "warn",
"no-multiple-empty-lines": "warn",
"react/jsx-equals-spacing": ["warn", "never"],
"react/prop-types": "warn",
"id-match": ["error", "^([A-Za-z0-9_])+$", {"properties": true}]
}
};
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/Servers.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dayjs": "^1.11.9",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"less": "4.1.3",
Expand Down
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/SiteGroups.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"css-loader": "^7.1.2",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"less": "4.1.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"css-loader": "^7.1.2",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"i18n-webpack-plugin": "1.0.0",
"jwt-decode": "2.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-jest": "^22.21.0",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"jest": "^28.1.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ class Folder extends Component {
Folder.propTypes = {
ChildFolders: PropTypes.array,
getChildFolders: PropTypes.func,
folder: PropTypes.object
folder: PropTypes.object,
children: PropTypes.node,
onClick: PropTypes.func,
isSelected: PropTypes.bool
};
export default Folder;
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,12 @@ EditLanguagePanel.propTypes = {
dispatch: PropTypes.func.isRequired,
languageFolders: PropTypes.array,
portalId: PropTypes.number,
resxBeingEdited: PropTypes.string
resxBeingEdited: PropTypes.string,
languageBeingEdited: PropTypes.object,
portalName: PropTypes.string,
languageFiles: PropTypes.array,
translations: PropTypes.object,
resxBeingEditedDisplay: PropTypes.string
};

function mapStateToProps(state) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class FullEditor extends Component {
FullEditor.propTypes = {
value: PropTypes.string,
onChange: PropTypes.func,
onCancel: PropTypes.func,
className: PropTypes.string
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class ResourceList extends Component {

ResourceList.propTypes = {
list: PropTypes.array,
onResxChange: PropTypes.func
onResxChange: PropTypes.func,
highlightPendingTranslations: PropTypes.bool
};
export default ResourceList;
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ IgnoreWordsRow.propTypes = {
onDelete: PropTypes.func,
id: PropTypes.string,
openId: PropTypes.string,
visible: PropTypes.bool
visible: PropTypes.bool,
children: PropTypes.node
};

IgnoreWordsRow.defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ LanguageVerifierRow.propTypes = {
OpenCollapse: PropTypes.func,
Collapse: PropTypes.func,
id: PropTypes.string,
openId: PropTypes.string
openId: PropTypes.string,
children: PropTypes.node
};

LanguageVerifierRow.defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ RolesPanel.propTypes = {
rolesList: PropTypes.array,
roleGroups: PropTypes.array,
cultureCode: PropTypes.string,
onSelectChange: PropTypes.func
onSelectChange: PropTypes.func,
portalId: PropTypes.number
};

function mapStateToProps(state) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ LanguageRow.propTypes = {
openId: PropTypes.string,
onOpenEditor: PropTypes.func,
onOpenPageList: PropTypes.func,
onLocalizePages: PropTypes.func
onLocalizePages: PropTypes.func,
children: PropTypes.node
};

LanguageRow.defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ ListEntryRow.propTypes = {
onDelete: PropTypes.func,
id: PropTypes.string,
openId: PropTypes.string,
enableSortOrder: PropTypes.bool
enableSortOrder: PropTypes.bool,
children: PropTypes.node,
name: PropTypes.string
};

ListEntryRow.defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ ProfilePropertyRow.propTypes = {
onMoveUp: PropTypes.func,
onMoveDown: PropTypes.func,
id: PropTypes.string,
openId: PropTypes.string
openId: PropTypes.string,
children: PropTypes.node
};

ProfilePropertyRow.defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ SiteAliasRow.propTypes = {
Collapse: PropTypes.func,
onDelete: PropTypes.func,
id: PropTypes.string,
openId: PropTypes.string
openId: PropTypes.string,
children: PropTypes.node,
name: PropTypes.string
};

SiteAliasRow.defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ SynonymsGroupRow.propTypes = {
onDelete: PropTypes.func,
id: PropTypes.string,
openId: PropTypes.string,
visible: PropTypes.bool
visible: PropTypes.bool,
children: PropTypes.node
};

SynonymsGroupRow.defaultProps = {
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Sites.Web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ module.exports = {
"space-before-blocks": "warn",
"no-multiple-empty-lines": "warn",
"react/jsx-equals-spacing": ["warn", "never"],
"react/prop-types": "warn",
"id-match": ["error", "^([A-Za-z0-9_])+$", {"properties": true}],
"no-useless-escape": "off"
}
Expand Down
2 changes: 1 addition & 1 deletion Dnn.AdminExperience/ClientSide/Sites.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"css-loader": "^7.1.2",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"less": "4.1.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ module.exports = {
"space-before-blocks": "warn",
"no-multiple-empty-lines": "warn",
"react/jsx-equals-spacing": ["warn", "never"],
"react/prop-types": "warn",
"id-match": ["error", "^([A-Za-z0-9_])+$", {"properties": true}]
}
};
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"eslint-loader": "4.0.2",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "7.33.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"less": "4.1.3",
"less-loader": "12.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,15 @@ ListView.propTypes = {
onPreviewPortal: PropTypes.func,
sitesModule: PropTypes.string,
culture: PropTypes.string,
siteImportExportModule: PropTypes.string
siteImportExportModule: PropTypes.string,
className: PropTypes.string
};

ListView.defaultProps = {
siteSettingModule: "Dnn.SiteSettings",
sitesModule: "Dnn.Sites",
siteImportExportModule: "Dnn.SiteImportExport",
culture: "en-US"
culture: "en-US",
};

function mapStateToProps(state) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"es6-object-assign": "1.1.0",
"eslint": "7.32.0",
"eslint-loader": "4.0.2",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-spellcheck": "0.0.11",
"file-loader": "3.0.1",
"jwt-decode": "2.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ SchedulerRow.propTypes = {
id: PropTypes.string,
openId: PropTypes.string,
panelIndex: PropTypes.number,
settingsClientModified: PropTypes.bool
settingsClientModified: PropTypes.bool,
dispatch: PropTypes.func,
children: PropTypes.node
};

function mapStateToProps(state) {
Expand All @@ -133,7 +135,7 @@ function mapStateToProps(state) {
}

SchedulerRow.defaultProps = {
collapsed: true
collapsed: true,
};

export default connect(mapStateToProps)(SchedulerRow);
Loading

0 comments on commit 2bb650f

Please sign in to comment.