Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
romgrk committed Aug 19, 2024
1 parent a7fd6c7 commit 48b54a6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "5.0.0",
"private": true,
"scripts": {
"playground": "tsx ./playground.ts",
"browser": "pnpm webpack --config browser/webpack.config.js && node browser/scripts/benchmark.js",
"server:core": "cd ../ && cross-env NODE_ENV=production BABEL_ENV=benchmark babel-node benchmark/server/scenarios/core.js --inspect=0.0.0.0:9229 --extensions \".tsx,.ts,.js\"",
"server:docs": "cd ../ && cross-env NODE_ENV=production BABEL_ENV=benchmark babel-node benchmark/server/scenarios/docs.js --inspect=0.0.0.0:9229 --extensions \".tsx,.ts,.js\"",
Expand All @@ -21,6 +22,7 @@
"@mui/system": "workspace:^",
"@styled-system/css": "^5.1.5",
"benchmark": "^2.1.4",
"benny": "^3.7.1",
"docs": "workspace:^",
"express": "^4.19.2",
"fs-extra": "^11.2.0",
Expand All @@ -38,5 +40,8 @@
"styled-system": "^5.1.5",
"theme-ui": "^0.16.2",
"webpack": "^5.92.1"
},
"devDependencies": {
"tsx": "^4.15.7"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"preinstall": "npx only-allow pnpm",
"proptypes": "tsx ./scripts/generateProptypes.ts",
"deduplicate": "pnpm dedupe",
"benchmark:playground": "cd benchmark && pnpm run playground",
"benchmark:browser": "pnpm --filter benchmark browser",
"build": "lerna run build --ignore docs",
"build:ci": "lerna run build --ignore docs --concurrency 8 --skip-nx-cache",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-utils/src/composeClasses/composeClasses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function composeClasses<ClassKey extends string>(
const slot = slots[slotName];
let buffer = '';

for (let i = 0; i < slot.length; i++) {
for (let i = 0; i < slot.length; i += 1) {
const value = slot[i];
if (value) {
buffer += getUtilityClass(value) + ' ';
Expand Down

0 comments on commit 48b54a6

Please sign in to comment.