mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
This ports TGUI, and makes the old nano crew monitor and the disposal bins use it as first examples.
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,
|
|
}]
|