shareon/.eslintrc.json

30 lines
534 B
JSON

{
"root": true,
"env": {
"browser": true
},
"extends": ["eslint:recommended", "plugin:unicorn/recommended", "prettier"],
"rules": {
"unicorn/no-for-loop": 0
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"overrides": [
{
"files": ["postcss.config.js", "vite.config.js"],
"env": {
"node": true,
"browser": false
}
},
{
"files": ["postcss.config.js"],
"rules": {
"unicorn/prefer-module": 0
}
}
]
}