xojs/
β€οΈ JavaScript happiness style linter
USD raised
Recent activities
Built-in support for TypeScript
Verbose mode
v0.13.0 crashes on plugin shared config
Filter out `.gitignore` patterns before globbing
Support an external config file instead of just package.json config
Use ESLint-style config options
Unable to customize certain rules via shareable config
Allow configuring towards webpack
Overrides not working when calling xo with absolute paths
Add ability to ignore directories
`@typescript-eslint/parser` breaks XO
Should the `useEslintrc` option be documented?
xo --init stripped custom configuration from package.json
Re-enable `eslint-plugin-promise` as it now supports ESLint 8
Global configuration
enhancement: support option --print-config and --debug
Support additional languages
Pick up customization from .editorconfig?
Better interop with ESLint?
Move to flat config
Parent Folder Config File Ignored?
json5 security issue since xo 0.45.0
No lint issues output on Windows
XO and NX
Problem with global installing XO via npx command
xo does not appear to use `extends: ["plugin:?"]` when specified in config
Rules @typescript-eslint/indent and react/jsx-indent-props fight for identation
Question about the logo
Relative 'extends' can fail; should resolve relative to config file
Conflicting linting rules for typescript import
Error: Cannot find module '<tsconfig from node_modules>'
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
Unexpected token with `import with type` assertion
In a monorepo with turborepo and typescript which is the best setup?
import/extensions - Missing file extension "ts"
Recommended way to disable eslint rules
Question: Is there a way to disable auto-fixing for a subset of rules
@typescript-eslint/no-unsafe-assignment throws error incorrectly
Setting tsconfig in "overrides" throws on Windows
npm package bundles node_modules?
Curly braces for switch cases
UnhandledPromiseRejectionWarning: RequestError: Error: read ECONNRESET
suggestion / help: min-lines of a file
File matching to determine generated tsconfig does not take relative directories into account
Better solution for configs & plugins in dependencies
Consider using `@rushstack/no-new-null` for TypeScript
Prefer real private fields over public/private
npm install issue with acorn dependency
Error: Failed to load plugin 'prettier' declared in 'BaseConfig'
feature request: ability to pass path to config file
@typescript-eslint/parser error with TypeScript test files
Support with reviewdog?
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
eslint-config-xo version 0.47 does to work for Vue files
Roadmap to 1.0?
XO 1.1.1 EEXIST: file already exists, mkdir 'node_modules/.cache/xo-linter'
[1.1.0 regression] `--print-config` throws Error: The tsconfig path must be absolute
Support for custom tsconfig file in XO config for linting
[Fixed in 1.1.0] typescript aliases not recognised in 1.0.0+ (works in 0.60.0)
Bun support
enabled @typescript-eslint rules crash xo with TypeError when targeting js files (version 1.0.0+)
v1.0.1 code changes did not get published
Add `no-unused-private-class-members` to eslint-config-xo
Too many rules getting triggered after the release of v1.0.0 today
eslint-config-xo bumps peer depency way higher
Release last change on eslint-config-xo
Accidental push to main to fix #791
0.61.0-2: remove `lodash.pick`
`react/jsx-tag-spacing` conflicts with Prettier
`import/no-cycle` taking 95% with `TIMING=1`
How to configure for React projects
[eslint-config-xo] - Key "plugins": Cannot redefine plugin "@stylistic".
xo --fix is removing used eslint-disable directives
@stylistic/semi rule not properly disabled despite configuration
Additional file types cannot be enabled via config file
Ignores not working when using in package.json
Files matching xo.overrides ignore xo.extends
Output to file
`xo --init` crashes out if yarn.lock is present but yarn isn't available
Rule request: JSX indentation and tag positioning
XO should not lint type definition files in a non-TS project
Add `object-curly-newline` rule
Lax comma-dangle
More permissive `import/no-unassigned-import`
Add trailing indentation to all padding lines - trailing-indent-padded-line
XO does not work very well with `create-react-app`
Upgrade `eslint-plugin-n` to support latest Node.js environment
Replace native/deprecated stylistic rules with `eslint-stylistic`
Automatic ecmaVersion
Move to eslint-stylistic (ESLint 9 dropped formatting rules)
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
Does XO work with Next.js?
[ava, nyc] Some internal modules are deprecated.
Promise plugin supports ESLint 8 now
TS Strict config not working
Upgrade to ESLint 9
Replace `eslint-plugin-import` with `eslint-plugin-import-x`
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`
`extensions` not being applied to Typescript (vue)
send_500trc20.py
[TypeScript 5.7] Parsing error: Invalid value for lib provided: es2024.promise
Extending `eslint-plugin-svelte/recommended` throws a `Converting circular structure to JSON` error
XO + Prettier + JSON / YAML
Drop direct Prettier usage
Svelte files are ignored (no error)
Move from deprecated `ESLint.CLIEngine`
Plugins failing to load?
Update to the latest version of meow
Ignore rules with sub-projects don't seem to work
Node 14 ES Module: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: xo.config.js
Allow brace-less conditions around for loops (`curly`)
Prettier v2.0.5 breaks linting
Report errors as GitHub Actions Annotations
Bug: xo ignores package.json config when run from a project subfolder
Enforce PascalCase on types
Slow when linting a single file
Extraneous newline at EOF with `--stdin --fix`
nodeVersion is not respected in options
Error is displayed twice on package.json JSONError
Error: Failed to load config "xo-typescript" to extend from.
Too slow on large projects
Conflict with newest eslint-typescript version 2.26
[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
Classifications config
Support the BigInt global
Not fixing mixed tabs and spaces
Broken coverage badge link
`xo --space` doesn't work with `eslint-config-xo-typescript`
SharedArrayBuffer is not defined
Failed to load config "xo/esnext" to extend from
Idea: Add `eslint-plugin-security` rules
Identify moot ESLint comments
Core breaking changes in v0.25.x versus v0.24.x (`import/no-unresolved`, `require-atomic-updates`, and others removed)
Enable more `eslint-plugin-import` rules
Don't auto-fix `.onmessage` in `prefer-add-event-listener` rule
Publish new version for updated unicorn fixes
Publish new version with eslint^6 dependency to npm
Upgrade to ESLint 6
How to specify --rulesdir to have local rules
pipeline operator support
xo ignoring configuration file?
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
The composition of the extension options is broken
Add option to explicitly tell xo to use a config file
Warning on XO install: has unmet peer dependency webpack
`comma-dangle` disabled with `--prettier`
Huge memory usage regression: 580 MB in 0.43 β 6300 MB in 0.44
`nodeVersion: false` doesn't disable the related rules
Env is set to CommonJS and Unicorn's prefer-module error keeps getting thrown
0.44.0 eslint-config-prettier/flowtype.js error persists, prettier=false
Support `--report-unused-disable-directives` in ESLint 8
Require extension/be explicit
[feat/discussion] allow an option to get rule meta data for lintText
[bug] XO TS config parserOptions.project does not allow xo to be ran outside of dir
Redundant `for ... of` rules for TypeScript files
Security Errors (dependabot)
Enable `import/named` on JS-only projects
Yarn 2 and xo 0.41.0
Enable more `import` rules
Global XO now just throws with unrelated error if used in ESM package
How to disable @typescript-eslint/no-require-imports
Recent release broke vscode extension
`xo --fix --quiet` does not save changes on TypeScript files
eslint-plugin-tsdoc
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?
xo is using an older version of type-fest that does not have `Expect` type mentioned in eslint-config-xo-typescript `ban-type` rule
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
Slow performance
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
Optional chaining breaks linting
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?
Β© 2019 BoostIO, Inc.