mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-07 12:24:22 +01:00
ff5c854192
- Use new notification request/opt-in flow for push - Implement unsubscribing - Implement muting - Implement emojis in title - Add iOS specific PWA warning - Don’t use websockets when web push is enabled - Fix duplicate notifications - Implement default web push setting - Implement changing subscription type - Implement web push subscription refresh - Implement web push notification click
38 lines
1,022 B
Text
38 lines
1,022 B
Text
{
|
|
"extends": ["airbnb", "prettier"],
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"globals": {
|
|
"config": "readonly"
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2023
|
|
},
|
|
"rules": {
|
|
"no-console": "off",
|
|
"class-methods-use-this": "off",
|
|
"func-style": ["error", "expression"],
|
|
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
|
|
"no-await-in-loop": "error",
|
|
"import/no-cycle": "warn",
|
|
"react/prop-types": "off",
|
|
"react/destructuring-assignment": "off",
|
|
"react/jsx-no-useless-fragment": "off",
|
|
"react/jsx-props-no-spreading": "off",
|
|
"react/jsx-no-duplicate-props": [
|
|
"error",
|
|
{
|
|
"ignoreCase": false // For <TextField>'s [iI]nputProps
|
|
}
|
|
],
|
|
"react/function-component-definition": [
|
|
"error",
|
|
{
|
|
"namedComponents": "arrow-function",
|
|
"unnamedComponents": "arrow-function"
|
|
}
|
|
]
|
|
},
|
|
"overrides": [{ "files": ["./public/sw.js"], "rules": { "no-restricted-globals": "off" } }]
|
|
}
|