23 lines
357 B
JSON
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
|
|
}
|
|
}
|
|
]
|
|
}
|