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 over 4 years ago

  • Various fixes to TypeScript integration (#431) 0ea5dbb

Important: We changed the cache structure, so you'll need to delete node_modules/.cache/xo:

$ rm node_modules/.cache/xo

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

xo -

Published by sindresorhus over 4 years ago

  • Add TypeScript support (#426) b0dfcbd
    You can now lint TypeScript projects without any extra config. You can also lint d.ts files in JS projects. Read more.
  • Find XO config based on linted file path (#425) e0f81a7
  • Fix overrides handling for extends, envs, globals, plugins (#429) 4cefdbc
  • Add node/no-unsupported-features rules (#341) 2297c07
  • Improve import/no-unassigned-import settings (#430) 0c78113

https://github.com/xojs/xo/compare/v0.26.1...v0.27.0

xo -

Published by sindresorhus over 4 years ago

  • Use new eslint-config-prettier override (#422) 9fbdb97

https://github.com/xojs/xo/compare/v0.26.0...v0.26.1

xo -

Published by sindresorhus over 4 years ago

  • Temporarily disable the import/order rule 776927f

https://github.com/xojs/xo/compare/v0.25.3...v0.25.4

xo -

Published by sindresorhus about 5 years ago

  • Enable unicorn/prefer-flat-map only for Node.js >=11 (#403) 80c592e

https://github.com/xojs/xo/compare/v0.25.2...v0.25.3

xo -

Published by sindresorhus about 5 years ago

  • Disable no-nested-ternary rule when Prettier is used (#402) 537ef66

https://github.com/xojs/xo/compare/v0.25.1...v0.25.2

xo -

Published by sindresorhus about 5 years ago

  • Don't report normal TODO comments as errors 4378e83

https://github.com/xojs/xo/compare/v0.25.0...v0.25.1

xo -

Published by sindresorhus about 5 years ago

Breaking

  • Require Node.js 8 8a213ef
  • Upgrade to ESLint 6 698b043
  • Enforce using the .json extension for JSON files in imports 7e56730

New rules

Enhancements

  • Respect .eslintignore (#377) f6bf4c0
  • Turn all paths cwd-relative before linting (#372) 3033fcd
  • Add option to import/no-useless-path-segments rule 8d6c5c5
  • Add tap-snapshots/*.js to default ignore list (#385) b73b11b
  • Make --stdin --fix always return the code even if nothing was fixed (#383) ec51d18
xo -

Published by sindresorhus about 6 years ago

Highlights

New rules

All changes

https://github.com/xojs/xo/compare/v0.22.0...v0.23.0

xo -

Published by sindresorhus about 6 years ago

Highlights

New rules

All changes

https://github.com/xojs/xo/compare/v0.21.1...v0.22.0

xo -

Published by sindresorhus over 6 years ago

Fix space/useTabs conflict message with Prettier. https://github.com/xojs/xo/commit/36f7f38f3c2f495283cda764c68cfee9b4494973

xo - v0.21.0

Published by pvdlg over 6 years ago

xo -

Published by sindresorhus over 6 years ago

This release is way overdue, so glad to finally have it out! It includes a major ESLint upgrade, huge performance improvements, Prettier support, lots of new rules, and bug fixes.

The project was recently moved to a GitHub organization, and we got a new team member, Pierre Vanduynslager

We now also have configs for TypeScript (using tslint) and CSS & Sass (using stylelint). And don't forget, we already have a config for React.

Many of the new rules in this release are from the eslint-plugin-unicorn plugin, which could use some contributions.

Highlights

New rules

22 new rules!

All changes

https://github.com/sindresorhus/xo/compare/v0.18.2...v0.20.0


Why is this not 0.19.0? That version got tainted by an incorrect publish a long time ago.

xo - 0.18.2

Published by sindresorhus over 7 years ago

We finally fixed all the gitignore issues. Thanks to hard work by @marionebl and @schnittstabil.

The --open flag now also supports VS Code.

https://github.com/sindresorhus/xo/compare/v0.18.1...v0.18.2

xo - 0.18.1

Published by sindresorhus over 7 years ago

Removes the promise/no-promise-in-callback and promise/no-callback-in-promise rules. They were more annoying than useful. You usually have to deal with a lot of non-Promise APIs, so I had to disable it too many times. Some APIs will also never be Promise, like events and streams. https://github.com/sindresorhus/xo/commit/225385202277d1e3c34f14582f9e96225df37e45

https://github.com/sindresorhus/xo/compare/v0.18.0...v0.18.1

xo - 0.18.0

Published by sindresorhus over 7 years ago

Highlights

All changes

https://github.com/sindresorhus/xo/compare/v0.17.1...v0.18.0

xo - 0.17.0

Published by sindresorhus about 8 years ago

Check out the new feature highlight on what makes XO awesome.

Also excited to share that Hyper.app is now using XO \o/

Highlights

All changes

https://github.com/sindresorhus/xo/compare/v0.16.0...v0.17.0