Skip to content

majus/eslint-config-meteor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this

Based on @meteorjs/eslint-config-meteor:

This is an ESLint configuration for Meteor apps which implements the recommendations from the Meteor Guide's section on Code style.

Usage

Install

Install by running:

meteor npm install --save-dev @majus/eslint-config-meteor

Using meteor npm is optional for this package, but best-practice for Meteor projects in general.

Peer Dependencies

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 <package> or, alternatively, using an automated tool:

$ # Install `install-peerdeps` within the current Meteor tool version.
$ meteor npm install --global install-peerdeps
$ # Run the newly installed `install-peerdeps` to install this package and its dependencies.
$ meteor npx install-peerdeps --dev @majus/eslint-config-meteor

Configure

Create .eslintrc.json file in the root of your project with the following contents:

{
  "extends": "@majus/eslint-config-meteor"
}

About

The ESLint configuration recommended by the Meteor Guide http://guide.meteor.com/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%