Skip to content

Commit 8229361

Browse files
committed
Fix linting
1 parent d1c14e4 commit 8229361

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types/object/serialize.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { compareNodes } from './sort.js'
1212
// Serialize from `nodes` to a `object` permission.
1313
// Never serialize to `all` category so make output more predictable.
1414
export const serialize = (nodes) => {
15+
// eslint-disable-next-line fp/no-mutating-methods
1516
const nodesA = nodes.map(serializeNode).sort(compareNodes)
1617
const object = groupBy(nodesA, 'category')
1718
const objectA = mapValues(object, mergePerms)

0 commit comments

Comments
 (0)