Comments (4)
Thanks @dferber90 that's a good point. Also, I'm yet to figure out the best approach to recommend to users as far as installing all of the correct package peer dependencies, might you have any ideas on that?
from eslint-config-meteor.
Mention it prominently on the Readme and in the changelog of new releases :) And npm
warns when peer dependencies are missing after installing a plugin.. And the linter won't run successfully when some are missing, so users may consult the Readme looking for a solution.
Other than that, I wouldn't do much else. Other packages aren't doing something special here either.
from eslint-config-meteor.
lol yeah it's kind of awful, airbnb does this which works. I think we could go with something like (with versions):
npm i --save-dev eslint babel-eslint eslint-plugin-meteor eslint-import-resolver-meteor
followed by:
(
export PKG=eslint-config-airbnb;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
See: https://www.npmjs.com/package/eslint-config-airbnb
from eslint-config-meteor.
Then as you said, any issues that appear can be resolved by the user
from eslint-config-meteor.
Related Issues (5)
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-meteor.