1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00
excalidraw/.eslintrc.json
Lipis 0220341966
Rename .eslintrc to .eslintrc.json (#1481)
So it will be auto formatted on commits
2020-04-23 19:17:47 +02:00

31 lines
601 B
JSON

{
"extends": ["prettier", "react-app"],
"plugins": ["prettier"],
"rules": {
"curly": "warn",
"no-console": [
"warn",
{
"allow": ["warn", "error", "info"]
}
],
"no-else-return": "warn",
"no-useless-return": "warn",
"prefer-const": [
"warn",
{
"destructuring": "all"
}
],
"prefer-template": "warn",
"prettier/prettier": "warn",
"no-restricted-syntax": [
"warn",
{
"selector": "JSXText[value=/\\w/]",
"message": "Use 't(...)' instead of literal text in JSX"
}
]
}
}