xo

❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults

MIT License

Downloads
375.7K
Stars
7.6K
Committers
94

Bot releases are hidden (Show)

xo -

Published by sindresorhus almost 4 years ago

New rules

Renamed rules

Only affects you if you had any of these rules disabled.

  • unicorn/no-fn-reference-in-iteratorunicorn/no-array-callback-reference
  • unicorn/no-array-instanceofunicorn/no-instanceof-array
  • unicorn/no-reduceunicorn/no-array-reduce
  • unicorn/prefer-datasetunicorn/prefer-dom-node-dataset
  • unicorn/prefer-flat-mapunicorn/prefer-array-flat-map
  • unicorn/prefer-replace-allunicorn/prefer-string-replace-all
  • unicorn/prefer-starts-ends-withunicorn/prefer-string-starts-ends-with
  • unicorn/prefer-text-contentunicorn/prefer-dom-node-text-content
  • unicorn/prefer-trim-start-endunicorn/prefer-string-trim-start-end
  • unicorn/prefer-event-keyunicorn/prefer-keyboard-event-key
  • unicorn/prefer-node-appendunicorn/prefer-dom-node-append
  • unicorn/prefer-node-removeunicorn/prefer-dom-node-remove

Improvements

  • Improve ESM compatibility 211f295
  • Enforce errerror for variable names d801095
  • Enforce some inclusive wording 0ec4b8c
xo -

Published by sindresorhus almost 4 years ago

xo -

Published by sindresorhus almost 4 years ago

  • Add processor option bf6eb25
  • Disable warnings when running in a GitHub Actions workflow (#508) 7731ea1

https://github.com/xojs/xo/compare/v0.35.0...v0.36.0

xo -

Published by sindresorhus almost 4 years ago

New rules

Improvements

  • Allow unassigned stylesheet imports (#502) b1012d3
  • Upgrade dependencies 0555859 6fa99cd

https://github.com/xojs/xo/compare/v0.34.2...v0.35.0

xo -

Published by sindresorhus almost 4 years ago

  • Fix the extensions option (#503) 35e6336

https://github.com/xojs/xo/compare/v0.34.1...v0.34.2

xo -

Published by sindresorhus about 4 years ago

  • Disable the unicorn/import-style rule for TypeScript projects 77716e2
    It wants to use import path from 'path'; which is not always possible.

https://github.com/xojs/xo/compare/v0.34.0...v0.34.1

xo -

Published by sindresorhus about 4 years ago

  • Fix setting multiple of some CLI flags ead63be

https://github.com/xojs/xo/compare/v0.33.0...v0.33.1

xo -

Published by sindresorhus over 4 years ago

xo -

Published by sindresorhus over 4 years ago

https://github.com/xojs/xo/compare/v0.31.0...v0.32.0

xo -

Published by sindresorhus over 4 years ago

  • Add tap-snapshots/*.cjs to default ignore list (#461) 4783f26
  • Temporarily disable the unicorn/string-content rule (#462) 967927d

https://github.com/xojs/xo/compare/v0.29.0...v0.29.1

xo -

Published by sindresorhus over 4 years ago

  • Support semicolon option with TypeScript (#446) c47a0c6
  • Add TS extends after base XO extends and before user extends (#453) a4625a7

https://github.com/xojs/xo/compare/v0.28.2...v0.28.3

xo -

Published by sindresorhus over 4 years ago

  • Set indent rule for TS files too (#451) 41b1bd7
  • Fix compatibility with latest TypeScript-ESLint version (#452) 28902f0

https://github.com/xojs/xo/compare/v0.28.1...v0.28.2

xo -

Published by sindresorhus over 4 years ago

  • Add xo-typescript and prettier/@typescript-eslint before user extends (#442) 6c57ff7
  • Change XO cache path to avoid conflicts when upgrading (#443) fc30597

https://github.com/xojs/xo/compare/v0.28.0...v0.28.1

xo -

Published by sindresorhus over 4 years ago

New rules

Improvements

  • Add webpack option (#375) f656ee3
  • Get extensions and ignores from config files (#436) 0d63c64

https://github.com/xojs/xo/compare/v0.27.2...v0.28.0

xo -

Published by sindresorhus over 4 years ago

  • Sort file paths before generating unique cache key (#432) 1807537

https://github.com/xojs/xo/compare/v0.27.1...v0.27.2