This package has been deprecated

Author message:

use eslint-config-schibsted instead

eslint-config-spt

3.0.0 • Public • Published

eslint-config-spt Build Status

A module to contain the SPT JavaScript linting rules for ESLint.

How to use

npm install --save-dev eslint-config-spt

Then add the extends option to your .eslintrc:

{
    "extends": "spt"
}

If it's a React project, install eslint-config-spt, eslint-config-spt-react and eslint-plugin-react.

npm install --save-dev eslint-config-spt eslint-config-spt-react eslint-plugin-react@4

Then add the extends option to your .eslintrc:

{
    "extends": [
        "spt",
        "spt-react"
    ]
}

You can override specific settings by specifying them as normal. See http://eslint.org/docs/developer-guide/shareable-configs for more details.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-spt

Weekly Downloads

10

Version

3.0.0

License

MIT

Last publish

Collaborators

  • schibstedbot
  • gustavkj