mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
15 lines
495 B
YAML
15 lines
495 B
YAML
rules:
|
|
## Enforce a maximum cyclomatic complexity allowed in a program
|
|
complexity: [error, { max: 25 }]
|
|
## Enforce consistent brace style for blocks
|
|
brace-style: [error, stroustrup, { allowSingleLine: false }]
|
|
## Enforce the consistent use of either backticks, double, or single quotes
|
|
quotes: [error, single, {
|
|
avoidEscape: true,
|
|
allowTemplateLiterals: true,
|
|
}]
|
|
react/jsx-closing-bracket-location: [error, {
|
|
selfClosing: after-props,
|
|
nonEmpty: after-props,
|
|
}]
|