Comments (3)
Interesting. Hadn't thought of this. I'll think about adding something like git diff --name-only
, but in the meantime you can use xo --compact | cut -d ':' -f 1 -s | uniq | xargs subl
.
Might be useful to output the following format:
/Users/sindresorhus/dev/pageres/lib/index.js:1:6
/Users/sindresorhus/dev/pageres/lib/util.js:5:15
As subl
and probably other tools support the line:column format:
Filenames may be given a :line or :line:column suffix to open at a specific
location.
from xo.
What about using $EDITOR
environment variable in a combination with a CLI flag (e.g. --open
) to open failed files? Indeed a great feature!
$ EDITOR=atom # example value of $EDITOR
$ xo --open
from xo.
PR welcome :)
from xo.
Related Issues (20)
- [minor] Improve documentation
- Fails with eslint 8.40.0: TypeError: Cannot read properties of undefined (reading 'getAllComments') HOT 6
- Error with 'no-unsafe-*' rules in Vite project HOT 1
- Add `--max-warnings` flag (fail on warnings) HOT 1
- xo --fix: Multiple fails with TypeError: Cannot read properties of undefined (reading 'get') HOT 2
- Expected HOT 2
- Unexpected token with dynamic import with type assertion HOT 1
- In a monorepo with turborepo and typescript which is the best setup? HOT 1
- Support with reviewdog? HOT 1
- Replace native/deprecated stylistic rules with `eslint-stylistic` HOT 2
- Automatic ecmaVersion HOT 2
- Projects in a Turborepo monorepo not using workspace package.json config HOT 2
- Deprecation of Formatting Rules in ESLint v8.53 HOT 5
- Proposal: enable strict-boolean-expressions
- XO seems to not play well with Typescript's array `extends` HOT 1
- EACCESS: permission denied on ignored directory HOT 2
- Reintroduce "length" rules to catch excess HOT 3
- List typescript extensions as well for `extensions` config
- regression: `xo: false` in nested `package.json` is not supported any more HOT 9
- xo does not check for `.xo.config.js` (or any file with dot '.' prefix) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xo.