JSPM

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

Collection of ESLint rules, following our styleguide

Package Exports

  • eslint-config-sxt-engine

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 (eslint-config-sxt-engine) 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-sxt-engine v1.1.1

Collection of ESLint rules to use for all the development environments (ex: nodejs, react, webpack, etc..,)

Installation

You'll install eslint-config-sxt-engine:

$ npm install eslint-config-sxt-engine --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-config-sxt-engine globally.

Usage

Add sxt-engine to the plugins section of your .eslintrc configuration file. You can omit the eslint-config- prefix:

For Nodejs

{
    "extends": [
        "sxt-engine"
    ]
}

For Reactjs

{
    "extends": [
        "sxt-engine/react"
    ]
}

For Jasmine

{
    "extends": [
        "sxt-engine/jasmine"
    ]
}

For Lodash

{
    "extends": [
        "sxt-engine/lodash"
    ]
}

For Jest

{
    "extends": [
        "sxt-engine/jest"
    ]
}

For Webpack

{
    "extends": [
        "sxt-engine/webpack"
    ]
}

For Flowjs

{
    "extends": [
        "sxt-engine/flow"
    ]
}

For smells

{
    "extends": [
        "sxt-engine/smells"
    ]
}

For Prettier

{
    "extends": [
        "sxt-engine/prettier"
    ]
}

For ReduxSaga

{
    "extends": [
        "sxt-engine/reduxSaga"
    ]
}

For Security

{
    "extends": [
        "sxt-engine/security"
    ]
}

License

MIT