Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Simple ESLint Plugin to lint some Sequelize config

Notifications You must be signed in to change notification settings

opencollective/eslint-plugin-sequelize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple ESLint Plugin to lint some Sequelize config

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • JavaScript 100.0%