2.0.3 • Published 7 years ago

eslint-config-spatie v2.0.3

Weekly downloads
115
License
MIT
Repository
github
Last release
7 years ago

eslint-config-spatie

Our base eslint configuration.

Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

Installation

Install this package, and save it as a devDependency:

npm install --save-dev eslint-config-spatie

Then have your project's .eslintrc file extend the ruleset.

{
    "extends": "spatie"
}

If you're using React in your project, you'll need to extend the React extension of the configuration, and install the eslint React plugin:

{
    "extends": "spatie/react"
}
yarn add eslint-plugin-react --dev

If you're using Vue in your project, you'll need to extend the Vue extension of the configuration, and install the eslint Vue and html plugins:

{
    "extends": "spatie/vue"
}
yarn add eslint-plugin-vue eslint-plugin-html --dev

Common Settings Cookbook

Globals

{
    "globals": {
        "$": true
    }
}

Environments

{
    "env": {
      "browser": true,
      "node": true
    }
}

About Spatie

Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

License

The MIT License (MIT). Please see License File for more information.

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

2.0.0-beta.2

7 years ago

2.0.0-beta.1

7 years ago

1.3.0

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.1.0-rc.1

8 years ago

1.0.0

8 years ago

0.0.1

8 years ago