Skip to main content
Version: 3.0

Stylistic

JS Rules

All rule names start with @stylistic/js prefix.

Rule NameConfiguration 🔧
array-bracket-spacing
arrow-parensas-needed
arrow-spacing
block-spacing
brace-style
comma-spacing
dot-locationproperty
eol-last
function-call-argument-newlineconsistent
function-paren-newlineconsistent
indent2, { ignoredNodes: ['PropertyDefinition[decorators]', 'MethodDefinition[decorators]', 'ClassBody.body > Decorator']}
jsx-quotesprefer-double
key-spacing
linebreak-style
no-extra-semi
no-floating-decimal
no-mixed-spaces-and-tabs
no-multi-spaces
no-multiple-empty-lines
no-trailing-spaces
nonblock-statement-body-position
object-curly-newline{ consistent: true }
object-curly-spacingalways
operator-linebreakbefore
quotessingle
rest-spread-spacing
semi
semi-spacing
space-before-blocks{ functions: 'always', classes: 'always', keywords: 'always' }
space-infix-ops
space-unary-ops
spaced-comment
switch-colon-spacing
template-curly-spacing
wrap-regex

TS Rules

All rule names start with @stylistic/ts prefix.

Rule NameConfiguration 🔧
block-spacing
brace-style
comma-spacing
key-spacing
member-delimiter-style
no-extra-semi
object-curly-spacingalways
quotessingle
semi
space-before-blocks{ functions: 'always', classes: 'always', keywords: 'always' }
space-infix-ops
type-annotation-spacing

JSX Rules

All rule names start with @stylistic/jsx prefix.

Rule Name🔧
jsx-closing-bracket-location
jsx-closing-tag-location
jsx-curly-newlineconsistent
jsx-curly-spacing
jsx-equals-spacing
jsx-indent2
jsx-indent-props2
jsx-one-expression-per-line{ allow: 'literal' }
jsx-pascal-case
jsx-props-no-multi-spaces
jsx-self-closing-comp
jsx-wrap-multilinesparens-new-line

Additional Rules

All rule names start with @stylistic/plus prefix.

|curly-newline | { consistent: true } | |indent-binary-ops| 2 | |type-generic-spacing|| |type-named-tuple-spacing||