Comments (5)
It's because of eslint/eslint#3458 (follow and comment on that thread). Shareable configs can't have dependencies, so I would have to force the user to manually install all the plugins XO uses.
from eslint-config-xo.
What editor integrations are you missing?
from eslint-config-xo.
Thank you for the quick answer!
Re: the editor: WebStorm
from eslint-config-xo.
@teehemkay Re WebStorm, see: xojs/xo#67 (comment) Should be possible to set it up with XO.
from eslint-config-xo.
Thank you for the pointer. I think it boils down to manually replicating all the ESLint setup / configuration that XO does automatically and adjusting WebStorm default settings so that they don't conflict with XO's...
Which I had done already. I used eslint-plugin-xo
, eslint-config-xo-space
and eslint-config-xo-react
) and created an .eslintrc*
config that's essentially xo/config/plugins.js
extended with the eslint-*-xo*
shareable configs above.
It's was not complicated since thanks to you all the pieces are already readily available and I just needed to assemble them.
While writing this I had the an idea that maybe could help to automate the above.
But I see that someone else already suggested it :-): xojs/xo#76
So I'll add a comment there.
Thank you again for your help, I really appreciate it.
from eslint-config-xo.
Related Issues (20)
- eslint-index HOT 2
- Add 'consistent-return' ? HOT 1
- Style rules should be warnings, not errors HOT 1
- Integration with Code Analysis (Codacy, CodeClimate) HOT 2
- Add the `padding-line-between-statements` rule HOT 4
- Add prettier-ignore to ignore pattern for capitalized-comments HOT 1
- Got `Configuration for rule "array-element-newline" is invalid` error HOT 3
- require-await ESLint rule HOT 1
- Consider adding 'avoidEscape: true' to quotes rule HOT 2
- Redundency between `no-eq-null` and `eqeqeq` HOT 2
- Conflict between `no-div-regex` and `no-useless-escape` HOT 3
- Request: Enable exceptAfterSingleLine on lines-between-class-members
- Disable some confusing browser globals HOT 1
- Unexpected top-level property "reportUnusedDisableDirectives" in base config HOT 2
- `capitalized-comments` ignore webpack magic comments HOT 1
- Catch-22 with no-unused-vars rule HOT 5
- Make `capitalized-comments` rule ignore `c8`
- Add rules governing `document.getElementById` HOT 1
- Consider update `comma-dangle`? HOT 1
- Upgrade to `@babel/eslint` HOT 3
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 eslint-config-xo.