03f49e4056
The endpoint was renamed to `/api/share` and refactored to use ESM instead of CommonJS
22 lines
357 B
JSON
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
|
|
}
|
|
}
|
|
]
|
|
}
|