1.0.1 • Published 6 years ago

eslint-config-posrix v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

eslint-config-posrix

Personal workspace Eslint config

Installation

yarn add eslint-config-posrix --dev

or npm

npm install eslint-config-posrix --save-dev

Usage

Create a .eslintrc file to extend the ruleset.

{
    "extends": "posrix"
}

If you're using React in your project, you'll need to extend the React extension of the configuration.

{
    "extends": "posrix/react"
}

If you're using Vue in your project, you'll need to extend the Vue extension of the configuration.

{
    "extends": "posrix/vue"
}

Globals

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

Environments

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

License

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