❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
MIT License
Bot releases are visible (Hide)
no-bitwise
unicorn/no-useless-fallback-in-spread
unicorn/no-invalid-remove-event-listener
@typescript-eslint/naming-convention
@typescript-eslint/no-restricted-imports
@typescript-eslint/no-non-null-asserted-nullish-coalescing
@typescript-eslint/padding-line-between-statements
@typescript-eslint/no-meaningless-void-operator
jsxBracketSameLine
option with bracketSameLine
(#609) 506c151import/named
rule for JavaScript (#601) 623f259unicorn/prefer-object-from-entries
unicorn/no-useless-length-check
unicorn/no-useless-spread
@typescript-eslint/prefer-return-this-type
@typescript-eslint/ban-ts-comment
trailingComma
option for Prettier to all
(#586) 68cb5abxo --print-config
without a filename (#587) 5ff95adprocess
and Buffer
in Node.js explicitly 9f40074
$ npx xo
.comma-dangle
rule, and @typescript-eslint/comma-dangle
if you use TypeScript.operator-linebreak
rule to enforce operators before
.
xo.config.cjs
and .xo-config.cjs
(#561) 374dd73parserOptions
for TypeScript (#557) 7ace6e5parserOptions
option (#544) e9c96a1unicorn/prefer-node-protocol
unicorn/prefer-module
unicorn/no-document-cookie
unicorn/numeric-separators-style
unicorn/prefer-array-flat
unicorn/prefer-array-flat-map
ESLint.CLIEngine
to ESLint
(#534) 0480d80unicorn/no-static-only-class
unicorn/prefer-array-flat
unicorn/prefer-switch
@typescript-eslint/no-unsafe-argument
esnext
option e80c094unicorn/prevent-abbreviations
rule: Rename options https://github.com/sindresorhus/eslint-plugin-unicorn/commit/cf42cc57029cc48e0305c07019a277247e149b4f
unicorn/no-keyword-prefix
rule: Rename blacklist
option to disallowedPrefixes
https://github.com/sindresorhus/eslint-plugin-unicorn/commit/91e60d05d67fd109b4c05b50abe3ff9fcbad1097
--print-config
flag (#529) 7b8dc70import/default
rule for TypeScript files e3c511bimport/export
rule for TypeScript files b385beenode/file-extension-in-import
rule for TypeScript projects (#523) 1eb8230unicorn/no-new-array
unicorn/prefer-array-index-of
unicorn/prefer-regexp-test
unicorn/no-array-for-each
unicorn/no-array-push-push
unicorn/no-this-assignment
@typescript-eslint/object-curly-spacing
.mjs
and .cjs
as default extensions (#521) 2e05c81import/no-unassigned-import
allow list 8156d42