Skip to content

Commit

Permalink
Update eslint rule and remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkrida committed Jul 7, 2023
1 parent aeb1f2b commit 370e2f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion frontend/src/composables/use-analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const useAnalytics = () => {
props: {
...isomorphicProps.value,
...windowProps.value,
...payload, // will override matching mandatory props
...payload,
},
})
}
Expand Down
16 changes: 1 addition & 15 deletions packages/eslint-plugin/src/configs/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,7 @@ export const recommended = {
"@openverse/analytics-configuration": [
"error",
{
reservedPropNames: [
"timestamp",
"language",
"breakpoint",
"ua",
"os",
"platform",
"browser",
"version",
"origin",
"pathname",
"referrer",
"width",
"height",
],
reservedPropNames: ["width", "height"],
},
],
},
Expand Down

0 comments on commit 370e2f4

Please sign in to comment.