This repository has been archived on 2024-05-13. You can view files and clone it, but cannot push or open issues or pull requests.
share2fedi/.eslintrc.json
Nikita Karamov 03f49e4056
BREAKING: Refactor /api endpoint
The endpoint was renamed to `/api/share` and refactored to use ESM instead of CommonJS
2023-09-02 21:56:38 +02:00

22 lines
357 B
JSON

{
"env": {
"browser": true
},
"extends": ["eslint:recommended", "plugin:unicorn/recommended", "prettier"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"overrides": [
{
"files": ["api/*.js"],
"env": {
"node": true,
"browser": false
},
"rules": {
"unicorn/prefer-node-protocol": 0
}
}
]
}