eslint-plugin-mysticatea

4.2.4 • Public • Published

eslint-plugin-mysticatea

npm version Downloads/month Build Status codecov Dependency Status

Additional ESLint rules.

💿 Installation

npm install --save-dev eslint eslint-plugin-mysticatea

Requirements

  • Node.js ^4.0.0, ^6.0.0, or newer.
  • ESLint ^3.1.0, or newer.

📖 Usage

Write in your ESLint configurations: http://eslint.org/docs/user-guide/configuring#using-the-configuration-from-a-plugin

Rules

Example

.eslintrc.json

{
    "plugins": [
        "mysticatea"
    ],
    "rules": {
        "mysticatea/arrow-parens": "error",
        "mysticatea/block-scoped-var": "error",
        "mysticatea/no-instanceof-array": "error",
        "mysticatea/no-instanceof-wrapper": "error",
        "mysticatea/no-literal-call": "error",
        "mysticatea/no-this-in-static": "error",
        "mysticatea/no-use-ignored-vars": "error",
        "mysticatea/no-useless-rest-spread": "error",
        "mysticatea/prefer-for-of": "error",
        "arrow-parens": "off",
        "block-scoped-var": "off",
        "no-redeclare": "off"
    }
}

⚓️ Semantic Versioning Policy

eslint-plugin-mysticatea follows semantic versioning and ESLint's Semantic Versioning Policy.

  • Patch release (intended to not break your lint build)
    • A bug fix in a rule that results in eslint-plugin-mysticatea reporting fewer errors.
    • Improvements to documentation.
    • Non-user-facing changes such as refactoring code, adding, deleting, or modifying tests, and increasing test coverage.
    • Re-releasing after a failed release (i.e., publishing a release that doesn't work for anyone).
  • Minor release (might break your lint build)
    • A bug fix in a rule that results in eslint-plugin-mysticatea reporting more errors.
    • A new rule is created.
    • A new option to an existing rule is created.
    • An existing rule is deprecated.
  • Major release (likely to break your lint build)
    • A support for old Node version is dropped.
    • A support for old ESLint version is dropped.
    • An existing rule is removed.
    • An existing option of a rule is removed.
    • An existing config is updated.

📰 Changelog

💪 Contributing

Welcome contributing!

Please use GitHub's Issues/PRs.

Development Tools

  • npm test runs tests and measures coverage.
  • npm run watch runs tests and measures coverage when source code are changed.
  • npm run coverage shows the coverage result of npm test command.
  • npm run clean removes the coverage result of npm test command.

Package Sidebar

Install

npm i eslint-plugin-mysticatea

Weekly Downloads

1,226

Version

4.2.4

License

MIT

Last publish

Collaborators

  • mysticatea