mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-10 11:35:52 +01:00
0220341966
So it will be auto formatted on commits
31 lines
601 B
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
}
|