1
0
mirror of https://github.com/NickKaramoff/toot synced 2025-02-07 04:43:34 +01:00
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

23 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
}
}
]
}