Eslint configuration for Meteor
npm install @meteorjs/eslint-config-meteorThis is an ESLint configuration for Meteor apps which implements the recommendations from the Meteor Guide's section on Code style.
Install by running:
``sh`
meteor npm install --save-dev @meteorjs/eslint-config-meteor
> Using meteor npm is optional for this package, but best-practice for Meteor projects in general.
This package has several peer dependencies listed in its package.json's peerDependencies section. Warnings will be encountered during the installation step above if the project doesn't already use these modules.
The peer dependencies can be installed manually by following the package.json specification and using meteor npm install --save-dev or, alternatively, using an automated tool:
`shinstall-peerdeps
$ # Install within the current Meteor tool version.install-peerdeps
$ meteor npm install --global install-peerdeps
$ # Run the newly installed to install this package and its dependencies.`
$ meteor install-peerdeps --dev @meteorjs/eslint-config-meteor
Add the following to the project's package.json:
`json``
"eslintConfig": {
"extends": "@meteorjs/eslint-config-meteor"
}