Skip to content

Commit

Permalink
feat(audit): add packj (react-grid-layout#1847)
Browse files Browse the repository at this point in the history
* feat(audit): add packj

* chore(prettier): fix issues
  • Loading branch information
STRML committed Feb 24, 2023
1 parent 8760397 commit 6deb935
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/packj.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: Packj Security Audit
uses: ossillate-inc/[email protected]
with:
DEPENDENCY_FILES: npm:package.json
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"jsxSingleQuote": false,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"requirePragma": false,
"insertPragma": false,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ will be draggable, even if the item is marked `static: true`.
Grid item widths are based on container and number of columns. The size of a grid unit's height is based on `rowHeight`.
Note that an item that has `h=2` is *not exactly twice as tall as one with `h=1` unless you have no `margin`*!
Note that an item that has `h=2` is _not exactly twice as tall as one with `h=1` unless you have no `margin`_!
In order for the grid to not be ragged, when an item spans grid units, it must also span margins. So you must add the height or width or the margin you are spanning for each unit. So actual pixel height is `(rowHeight * h) + (marginH * (h - 1)`.
Expand Down

0 comments on commit 6deb935

Please sign in to comment.