JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 217
  • Score
    100M100P100Q89546F
  • License MIT

The eslint config we use at moccu

Package Exports

  • @moccu/eslint-config
  • @moccu/eslint-config/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@moccu/eslint-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-config-moccu

Build

The eslint config we use at moccu

Installation

$ npm install --save-dev @moccu/eslint-config

Usage

Base

This is a customized ruleset based on the eslint recommended rules.

{
    "extends": [
        "@moccu/eslint-config"
    ],
    "rules": {
        // Additional rules...
    }
}

React

This is a customized ruleset based on the eslint-plugin-react rules. Separately there is a ruleset for proptypes-validation in @moccu/eslint-config/react-proptypes.

{
    "extends": [
        "@moccu/eslint-config",
        "@moccu/eslint-config/react",
        "@moccu/eslint-config/react-proptypes"
    ],
    "rules": {
        // Additional rules...
    }
}

Contribute

  • Add / Edit rules after agreements with developers at Moccu
  • Run tests using npm test
  • Set new version in package.json
  • Publish new version on npm using npm publish --access=public
  • Add github release and tag including release notes

License

MIT