Skip to content

Commit

Permalink
Bump @mui/monorepo digest to 22c5206 (mui#13420)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas <llukas.tyla@gmail.com>
  • Loading branch information
2 people authored and thomasmoon committed Sep 6, 2024
1 parent a5a8b65 commit 154600d
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 31 deletions.
1 change: 0 additions & 1 deletion docs/scripts/api/buildApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ async function run() {
// Create documentation folder if it does not exist
const apiPagesFolder = path.resolve('./docs/pages/x/api');

// eslint-disable-next-line no-restricted-syntax
for (const { folder, packages, documentedInterfaces } of interfacesToDocument) {
const subProjects: XTypeScriptProjects = new Map();

Expand Down
1 change: 0 additions & 1 deletion docs/scripts/api/buildGridEventsDocumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export default async function buildGridEventsDocumentation(
};
} = {};

// eslint-disable-next-line no-restricted-syntax
for (const projectName of GRID_PROJECTS) {
const project = projects.get(projectName)!;
const gridEventLookupSymbol = project.exports.GridEventLookup;
Expand Down
3 changes: 0 additions & 3 deletions docs/scripts/api/buildInterfacesDocumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,9 @@ const parseInterfaceSymbol = async (
};

const properties: Record<string, ParsedProperty> = {};
// eslint-disable-next-line no-restricted-syntax
for (const { type, project } of projectInterfaces) {
const propertiesOnProject = type.getProperties();

// eslint-disable-next-line no-restricted-syntax
for (const propertySymbol of propertiesOnProject) {
if (properties[propertySymbol.name]) {
properties[propertySymbol.name].projects.push(project.name);
Expand Down Expand Up @@ -281,7 +279,6 @@ export async function buildInterfacesDocumentationPage(
documentedInterfaces.set(interfaceName, packagesWithThisInterface);
});

// eslint-disable-next-line no-restricted-syntax
for (const [interfaceName, packagesWithThisInterface] of Array.from(
documentedInterfaces.entries(),
)) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@mui/internal-markdown": "^1.0.4",
"@mui/internal-test-utils": "1.0.0",
"@mui/material": "^5.15.19",
"@mui/monorepo": "github:mui/material-ui#f0026ad5bf4e1957cebd65b882bf45219514ca64",
"@mui/monorepo": "github:mui/material-ui#22c5206a9e8191b2f81131d6978a0958e55b7032",
"@mui/utils": "^5.15.14",
"@next/eslint-plugin-next": "14.2.3",
"@octokit/plugin-retry": "^6.0.1",
Expand Down
1 change: 0 additions & 1 deletion packages/x-data-grid-generator/src/hooks/useDemoData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const deepFreeze = <T>(object: T): T => {

// Freeze properties before freezing self

// eslint-disable-next-line no-restricted-syntax
for (const name of propNames) {
const value = object[name as keyof T];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ const buildAggregatedQuickFilterApplier = (
return function isRowMatchingQuickFilter(row, shouldApplyFilter) {
const result = {} as GridQuickFilterValueResult;

/* eslint-disable no-restricted-syntax, no-labels */
/* eslint-disable no-labels */
outer: for (let v = 0; v < quickFilterValues.length; v += 1) {
const filterValue = quickFilterValues[v];

Expand Down Expand Up @@ -378,8 +378,6 @@ const buildAggregatedQuickFilterApplier = (

result[filterValue] = false;
}
/* eslint-enable no-restricted-syntax, no-labels */

return result;
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const useGridRowsMeta = (
let otherSizes = 0;

const processedSizes = calculateRowProcessedSizes(row);
/* eslint-disable-next-line no-restricted-syntax, guard-for-in */
/* eslint-disable-next-line guard-for-in */
for (const key in processedSizes) {
const value = processedSizes[key];
if (key !== 'baseCenter') {
Expand Down
4 changes: 0 additions & 4 deletions packages/x-data-grid/src/utils/fastObjectShallowCompare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export function fastObjectShallowCompare<T extends Record<string, any> | null>(a
let aLength = 0;
let bLength = 0;

/* eslint-disable no-restricted-syntax */
/* eslint-disable guard-for-in */
for (const key in a) {
aLength += 1;
Expand All @@ -28,8 +27,5 @@ export function fastObjectShallowCompare<T extends Record<string, any> | null>(a
for (const _ in b) {
bLength += 1;
}
/* eslint-enable no-restricted-syntax */
/* eslint-enable guard-for-in */

return aLength === bLength;
}
32 changes: 16 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 154600d

Please sign in to comment.