xojs/
❤️ JavaScript happiness style linter
USD raised
Recent activities
Built-in support for TypeScript
v0.13.0 crashes on plugin shared config
Support an external config file instead of just package.json config
Filter out `.gitignore` patterns before globbing
Unable to customize certain rules via shareable config
Add ability to ignore directories
Overrides not working when calling xo with absolute paths
Allow configuring towards webpack
`@typescript-eslint/parser` breaks XO
xo --init stripped custom configuration from package.json
Should the `useEslintrc` option be documented?
XO does not work very well with `create-react-app`
Add trailing indentation to all padding lines - trailing-indent-padded-line
More permissive `import/no-unassigned-import`
Add `object-curly-newline` rule
Lax comma-dangle
XO should not lint type definition files in a non-TS project
Rule request: JSX indentation and tag positioning
`xo --init` crashes out if yarn.lock is present but yarn isn't available
Output to file
Files matching xo.overrides ignore xo.extends
Optional chaining breaks linting
pipeline operator support
How to specify --rulesdir to have local rules
Upgrade to ESLint 6
Publish new version with eslint^6 dependency to npm
Publish new version for updated unicorn fixes
Don't auto-fix `.onmessage` in `prefer-add-event-listener` rule
Enable more `eslint-plugin-import` rules
Classifications config
Identify moot ESLint comments
Idea: Add `eslint-plugin-security` rules
Failed to load config "xo/esnext" to extend from
SharedArrayBuffer is not defined
`xo --space` doesn't work with `eslint-config-xo-typescript`
Broken coverage badge link
Not fixing mixed tabs and spaces
Support the BigInt global
Core breaking changes in v0.25.x versus v0.24.x (`import/no-unresolved`, `require-atomic-updates`, and others removed)
Yarn 2: `Error: Failed to load config "xo/esnext" to extend from.`
Fix the `nodeVersion` tests
Module order detection bug
Add `no-unsupported-features`
Use and extend eslint's config files instead of mapping it to XO's own schema
TypeScript as optional dependency?
Allow overriding Typescript settings from an extended config
Something wrong with spaces between curly braces
Add regex plugins
Prettier 2 released, breaks XO
Acorn is wrong version: expected "6.4.1", got "7.1.1"
0.28.1 breaks support for space option in typescript
Warning on XO install: has unmet peer dependency webpack
Conflict with newest eslint-typescript version 2.26
Too slow on large projects
Error: Failed to load config "xo-typescript" to extend from.
nodeVersion is not respected in options
Extraneous newline at EOF with `--stdin --fix`
Slow when linting a single file
Enforce PascalCase on types
Svelte files are ignored (no error)
Report errors as GitHub Actions Annotations
Prettier v2.0.5 breaks linting
Allow brace-less conditions around for loops (`curly`)
Node 14 ES Module: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: xo.config.js
Ignore rules with sub-projects don't seem to work
Update to the latest version of meow
Plugins failing to load?
Move from deprecated `ESLint.CLIEngine`
[has workaround] XO not working with TypeScript: Cannot find module 'json-schema'
eslint-plugin-istanbul
Rule Proposal: replace `.filter()[0]` with `.find()`
XO does not support @scoped shareable configs
Issue with type definitions in TypeScript
Error: 'path' should be listed in the project's dependencies.
TypeScript 3.9.2: Error: Failed to load config "xo-typescript" to extend from
Enhancement: Shareable Prettier config
eslint-plugin-ava requires eslint ^6.2.0 but xo requires ^7.1.0
Error: Failed to load plugin 'ava' declared in BaseConfig
XO --fix on pre-commit hook without blocking commit
Error: The flag --env can only be set once.
(Issue opened in wrong repo)
XO and Prettier fighting over @typescript-eslint/no-implicit-any-catch
Error: Failed to load config "xo" to extend from
xo ignoring configuration file?
Behaviour of `xo --stdin` and options defined in `package.json`
`xo` is slow on `eslint-plugin-unicorn` project
--prettier overrides {"prettier/prettier": "off"} in rules
Compatibility with planned node.js native ESM import resolution
Ignore unassigned import of **/register.*
'@typescript-eslint/quotes' conflict with 'quotes'
Error: Failed to load plugin 'unicorn' declared in 'BaseConfig » /home/yoursunny/xobug/node_modules/xo/config/plugins.js': Cannot find module '@babel/core'
Consider disabling node/file-extension-in-import in TypeScript projects
Parsing error: No Babel config file detected
JSON loading with ECMAScript causes parsing error
Error: Failed to load parser 'babel-eslint' declared in 'CLIOptions': Cannot find module 'babel-eslint'
Default to ESM
Top level await causes parsing error
Error: Cannot read config file: /src/node_modules/eslint-config-prettier/@typescript-eslint.js
xo is using an older version of type-fest that does not have `Expect` type mentioned in eslint-config-xo-typescript `ban-type` rule
Support for YAML config
Add rule `consistent-type-imports` from `typescript-eslint`
Disable `unicorn/prefer-module` in certain files
`xo` 0.40.0 seems not reading `sourceType`
Issue with prettier
Error: Cannot find module 'eslint-config-xo'
Error: Failed to load plugin '*' declared in 'BaseConfig...
Show output when all tests pass
Don't agree with 2 new rules
Allow to configure curly spacing like Prettier
Uprade globby to version ^11.0.3
Auto fix of `unicorn/prefer-node-protocol` rule breaks Typescript
Can’t override sourceType for a .ts file
xo --fix very slow
Consider removing update-notifier?
Recent release broke vscode extension
How to disable @typescript-eslint/no-require-imports
Global XO now just throws with unrelated error if used in ESM package
Enable more `import` rules
Yarn 2 and xo 0.41.0
Enable `import/named` on JS-only projects
Security Errors (dependabot)
`comma-dangle` disabled with `--prettier`
[bug] XO TS config parserOptions.project does not allow xo to be ran outside of dir
[feat/discussion] allow an option to get rule meta data for lintText
Require extension/be explicit
Support `--report-unused-disable-directives` in ESLint 8
0.44.0 eslint-config-prettier/flowtype.js error persists, prettier=false
Env is set to CommonJS and Unicorn's prefer-module error keeps getting thrown
`nodeVersion: false` doesn't disable the related rules
Huge memory usage regression: 580 MB in 0.43 → 6300 MB in 0.44
Redundant `for ... of` rules for TypeScript files
Variable naming rule(s)
Failed to load plugin 'jest' declared in 'BaseConfig': Cannot find module 'eslint-plugin-jest'
XO v0.45.1?
Cannot disable `eslint-plugin-node` and `eslint-plugin-n` rules
`prettier: true`, but no spaces inside braces: `{Foo}`
"Parsing error: ImportDeclaration should appear when the mode is ES6 and in the module context." in update to 0.45.0
Upgrade to ESLint 8
`node/no-unsupported-features/es-syntax` erroneously enabled
Document how to use plugin configuration via ESLint
"parserOptions.project" errors occur when users tsconfig does not include a file
Thoughts on improving performance/effect on vscode pre-commit check.
Named export 'Legacy' not found when running in CI with 0.46+
Enable XO on new file extensions: cts and mts
Where does XO include eslint-comfig-xo?
Does XO work with Next.js?
@typescript-eslint/parser error with TypeScript test files
feature request: ability to pass path to config file
Error: Failed to load plugin 'prettier' declared in 'BaseConfig'
npm install issue with acorn dependency
Consider using `@rushstack/no-new-null` for TypeScript
Better solution for configs & plugins in dependencies
import/extensions - Missing file extension "ts"
suggestion / help: min-lines of a file
UnhandledPromiseRejectionWarning: RequestError: Error: read ECONNRESET
Curly braces for switch cases
npm package bundles node_modules?
Setting tsconfig in "overrides" throws on Windows
@typescript-eslint/no-unsafe-assignment throws error incorrectly
Question: Is there a way to disable auto-fixing for a subset of rules
Recommended way to disable eslint rules
File matching to determine generated tsconfig does not take relative directories into account
Use tsconfig/bases/strictest
Add a setting to transform all XO errors to warnings
How to lint cosmiconfig files?
With 0.50, seeing errors from new eslint-plugin-n that can't be suppressed
Works differently with ESLint?
Add support for formatting json files when prettier is used
Add silent flag to avoid default node error message on --fix
Highlight new warnings introduced by the current branch / commit
Put xo in pretest when init-ing
Can't specify object keys that aren't camel case, even when quoted
Fix TODOs in codebase
linting javascript files with no .js extension
Impossible rules
0.52 extending tsconfig from node_modules causes error
React Native
Error: Cannot find module '<tsconfig from node_modules>'
Conflicting linting rules for typescript import
Relative 'extends' can fail; should resolve relative to config file
Question about the logo
Rules @typescript-eslint/indent and react/jsx-indent-props fight for identation
xo does not appear to use `extends: ["plugin:?"]` when specified in config
Problem with global installing XO via npx command
XO and NX
Re-enable `eslint-plugin-promise` as it now supports ESLint 8
json5 security issue since xo 0.45.0
Parent Folder Config File Ignored?
Better interop with ESLint?
Pick up customization from .editorconfig?
Support additional languages
enhancement: support option --print-config and --debug
Global configuration
No lint issues output on Windows
Add a CLI option for exporting a vanilla ESLint config
Request: some description of rules
Array formatting rules
More strict `import/order` options
Support for Typescript v5 `extends` array
Error with typescript 5.0 features and yarn
Unable to satisfy `xo`
[minor] Improve documentation
Fails with eslint 8.40.0: TypeError: Cannot read properties of undefined (reading 'getAllComments')
Watch mode
Error with 'no-unsafe-*' rules in Vite project
xo --fix: Multiple fails with TypeError: Cannot read properties of undefined (reading 'get')
Expected
In a monorepo with turborepo and typescript which is the best setup?
Support with reviewdog?
Replace native/deprecated stylistic rules with `eslint-stylistic`
Automatic ecmaVersion
Proposal: enable strict-boolean-expressions
XO seems to not play well with Typescript's array `extends`
EACCESS: permission denied on ignored directory
Reintroduce "length" rules to catch excess
List typescript extensions as well for `extensions` config
xo does not check for `.xo.config.js` (or any file with dot '.' prefix)
can't pass options to @typescript-eslint/switch-exhaustiveness-check
Compatibility with Biome ?
Object Literal Property must match one of the following formats: strictCamelCase
default-case & @typescript-eslint/switch-exhaustiveness-check conflict with each other
"Definition for rule '@typescript/eslint/....' was not found" error happening in js, cjs and mjs files
How to add recommended-type-checked
Upgrade `eslint-plugin-n` to support latest Node.js environment
[ava, nyc] Some internal modules are deprecated.
Promise plugin supports ESLint 8 now
TS Strict config not working
v0.59.0 severe performance loss
Cannot disable `n/no-unsupported-features/node-builtins`
xo 0.59 with typescript projects fails with n/file-extension-in-import
[eslint-config-xo] - Allow `v8` alongside `c8` in `capitalized-comments`
© 2019 BoostIO, Inc.