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 3 years ago

  • Fix handling of tsconfig's (#632) 261696e

https://github.com/xojs/xo/compare/v0.46.3...v0.46.4

xo -

Published by sindresorhus almost 3 years ago

  • Fix an issue with npm not including bundledDependencies when publishing.
xo -

Published by sindresorhus almost 3 years ago

  • Fix an issue with importing a dependency 653887a

https://github.com/xojs/xo/compare/v0.46.1...v0.46.2

xo -

Published by sindresorhus almost 3 years ago

  • Fix an issue with npm not including bundledDependencies when publishing.
xo -

Published by sindresorhus almost 3 years ago

Breaking

New rules

Improvements

  • Improve memory usage (#622) 431887d

Fixes

  • Fix installing XO with npm 6 in some cases (#624) c9bbfb1

https://github.com/xojs/xo/compare/v0.45.0...v0.46.0

xo -

Published by sindresorhus about 3 years ago

New rules

Improvements

  • Improve performance (#583) e2e715d
  • Change trailingComma option for Prettier to all (#586) 68cb5ab

Fixes

  • Fix running xo --print-config without a filename (#587) 5ff95ad

https://github.com/xojs/xo/compare/v0.43.0...v0.44.0

xo -

Published by sindresorhus about 3 years ago

Improvements

  • Enforce importing process and Buffer in Node.js explicitly 9f40074
    • This is the recommendation in the Node.js docs.
  • Upgrade dependencies f2c5041

Fixes

  • Make cache directory be relative to cwd (#582) 512291b
    • This fixes editor integration.

https://github.com/xojs/xo/compare/v0.42.0...v0.43.0

xo -

Published by sindresorhus over 3 years ago

New rules

Improvements

  • Upgrade globby dependency (#574) 34800b7

https://github.com/xojs/xo/compare/v0.41.0...v0.42.0

xo -

Published by sindresorhus over 3 years ago

Breaking

  • XO can no longer be installed globally.
    • It caused too many problems. Instead, you can run the local XO binary with $ npx xo.
  • XO now enforces trailing comma in multiline statements.
  • Change operator-linebreak rule to enforce operators before.
    • This way is more readable.

New rules

https://github.com/xojs/xo/compare/v0.40.3...v0.41.0

xo -

Published by sindresorhus over 3 years ago

  • Support xo.config.cjs and .xo-config.cjs (#561) 374dd73

https://github.com/xojs/xo/compare/v0.40.2...v0.40.3

xo -

Published by sindresorhus over 3 years ago

  • Fix handling of parserOptions for TypeScript (#557) 7ace6e5

https://github.com/xojs/xo/compare/v0.40.1...v0.40.2

xo -

Published by sindresorhus over 3 years ago

  • Fix resolving base config (#545) d2c5750
  • Fix handling of parserOptions option (#544) e9c96a1

https://github.com/xojs/xo/compare/v0.40.0...v0.40.1

xo -

Published by sindresorhus over 3 years ago

Breaking

  • XO now enforces that your project is ESM
    If you cannot yet move to ESM, I recommend staying on XO 0.39 for now.
  • Require Node.js 12.20 cc06c3c

New rules

Meta

  • Move from deprecated ESLint.CLIEngine to ESLint (#534) 0480d80
    This should hopefully resolve a bunch of issues.

https://github.com/xojs/xo/compare/v0.39.1...v0.40.0

xo -

Published by sindresorhus over 3 years ago

  • Fix a problem with using XO with Prettier fa34c74

https://github.com/xojs/xo/compare/v0.39.0...v0.39.1

xo -

Published by sindresorhus over 3 years ago

New rules

Breaking

Improvements

  • Add --print-config flag (#529) 7b8dc70
  • Disable the import/default rule for TypeScript files e3c511b
  • Disable the import/export rule for TypeScript files b385bee

https://github.com/xojs/xo/compare/v0.38.2...v0.39.0

xo -

Published by sindresorhus over 3 years ago

  • Disable the node/file-extension-in-import rule for TypeScript projects (#523) 1eb8230
    It doesn't work properly with TypeScript projects.

https://github.com/xojs/xo/compare/v0.38.1...v0.38.2

xo -

Published by sindresorhus over 3 years ago

  • Fix a problem in v0.38.0 8b2fa78

https://github.com/xojs/xo/compare/v0.38.0...v0.38.1

xo -

Published by sindresorhus over 3 years ago

New rules

Improvements

  • Add auto-fix for fixing file extensions in imports f4f6b39
  • Add .mjs and .cjs as default extensions (#521) 2e05c81
  • Allow file extension for import/no-unassigned-import allow list 8156d42

Fixes

  • Fix ignored package.json config when using the CLI (#520) 32bd3b8

https://github.com/xojs/xo/compare/v0.37.1...v0.38.0

xo -

Published by sindresorhus almost 4 years ago

  • Fix TypeScript not supporting extensions f56d90d

https://github.com/xojs/xo/compare/v0.37.0...v0.37.1