GithubHelp home page GithubHelp logo

Comments (4)

dburles avatar dburles commented on June 10, 2024

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.

dferber90 avatar dferber90 commented on June 10, 2024

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.

dburles avatar dburles commented on June 10, 2024

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.

dburles avatar dburles commented on June 10, 2024

Then as you said, any issues that appear can be resolved by the user

from eslint-config-meteor.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.