0.0.5 • Published 8 years ago

eslint-plugin-parse v0.0.5

Weekly downloads
17
License
MIT
Repository
github
Last release
8 years ago

eslint-plugin-parse

ESLint plugin for working with Parse.

Installation

Install ESLint either locally or globally.

$ npm install eslint

If you installed ESLint globally, you have to install Parse plugin globally too. Otherwise, install it locally.

$ npm install eslint-plugin-parse

Configuration

Add to plugins section parse on .eslintrc.

{
  "plugins": [
    "parse"
  ]
}

After that, you can enable / disable rules by need, the default is:

{
    "rules": {
        "parse/does-not-exist": 2,
        "parse/global-master": 1,
        "parse/no-not-query": 2,
        "parse/no-parse-promise-assign": 1,
        "parse/no-promise-always": 1,
        "parse/no-slow-query": 1,
        "parse/prefer-parse-promise": 1,
        "parse/save-with-master": 2
    }
}

List of supported rules

License

eslint-plugin-parse is licensed under the MIT License.