Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DenSmolonski committed Jun 12, 2024
1 parent 2bd8893 commit 3da94f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
23 changes: 5 additions & 18 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
{
"extends": [
"next",
"prettier",
"plugin:prettier/recommended",
"plugin:storybook/recommended"
],
"extends": ["next", "prettier", "plugin:prettier/recommended", "plugin:storybook/recommended"],
"parser": "@typescript-eslint/parser",
"rules": {
"@next/next/no-img-element": "off",
"@next/next/google-font-display": "off",
"@next/next/google-font-preconnect": "off",
"@next/next/no-page-custom-font": "off",
"unused-imports/no-unused-imports-ts": "error",
"unused-imports/no-unused-imports-ts": "off",
"@typescript-eslint/consistent-type-imports": "error",
"no-constant-condition": "warn",
"react-hooks/exhaustive-deps": [
Expand All @@ -23,16 +18,8 @@
"no-only-tests/no-only-tests": "error",
"object-shorthand": ["error", "properties"],
"jsx-quotes": ["error", "prefer-double"],
"react/jsx-curly-brace-presence": ["error", { "props": "never", "children": "never" }]
"react/jsx-curly-brace-presence": ["off", { "props": "never", "children": "never" }]
},
"ignorePatterns": [
"node_modules/",
".next/",
".github/"
],
"plugins": [
"unused-imports",
"@typescript-eslint",
"no-only-tests"
]
"ignorePatterns": ["node_modules/", ".next/", ".github/"],
"plugins": ["unused-imports", "@typescript-eslint", "no-only-tests"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function firebaseMessagingSw() {
self.registration.showNotification(notification.title || '', {
icon: ICON_PATH,
body: notification.body,
image: notification.image,
// image: notification.image,
data,
})
})
Expand Down

0 comments on commit 3da94f3

Please sign in to comment.