eslint-plugin-sequelize

1.0.4 • Public • Published

eslint-plugin-sequelize

This is a repo to track some Sequelize linting that we needed to do.

Installation

npm install --save-dev github:tebriel/eslint-plugin-sequelize

Configuration

{
  "extends": [],
  "rules": {
    "sequelize/create-indexes-concurrently": "error"
  },
  "env": {},
  "plugins": [
    "sequelize"
  ]
}

rules

create-indexes-concurrently

If you're using Postgres, often you want to require that indexes are created concurrently to avoid blocking new writes while they're calculated.

Contributing

Please add new rules and then write a corresponding test harness in /test.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-sequelize

Weekly Downloads

2,208

Version

1.0.4

License

none

Unpacked Size

2.81 kB

Total Files

5

Last publish

Collaborators

  • tebriel