array-bracket-newline deprecated
Enforces line breaks after opening and before closing array brackets.
Categories:
❌
🔧 Fix
Components used across this site.
The rule component is a macro defined in /components/rule.macro.html
. The macro accepts a set of parameters used to render the rule.
A rule has a:
deprecated
and removed
respectively<!-- import the macro -->
{ % from 'components/rule.macro.html' import rule % }
<!-- use the macro -->
{ { rule({
name: "rule-name",
deprecated: true, // or removed: true
replacedBy: "name-of-replacement-rule"
description: 'Example: Enforce `return` statements in getters.',
categories: {
recommended: true,
fixable: true,
hasSuggestions: false
}
}) } }
array-bracket-newline deprecated
Enforces line breaks after opening and before closing array brackets.
❌
🔧 Fix
no-arrow-condition removed
Replaced by no-confusing-arrow
no-constant-condition
Enforce `return` statements in getters.
✅ Extends