Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mouette

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mouette

A linter for your MongoDB.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Mouette

Mouette is a linter for your MongoDB.

Try it out

TODO

Features

TODO

How is this supposed to be used?

TODO

Develop

git clone https://github.com/jsoendermann/mouette/
cd mouette
yarn install
npm run watch
node dist/bin/mouette.js

Adding a new rule

  1. Copy src/rules/_RULE_TEMPLATE.ts to a new file in the src/rules/ folder.
  2. Follow the instructions in that file to implement your rule.
  3. Add default options for your new rule to defaultConfig.toml.
  4. Write tests and add them to the __tests__/rules/ folder.
  5. Send me a pull request and share your new rule with the world.

TODO

  • Add tests
    • Coverage
    • CI
  • Comment code
  • Web interface
    • Dockerize
  • Come up with a way to lint nested objects

Rules

  • no-mixed-types
  • columns-containing-object-ids-should-end-in-id

Guesses

  • enforce-enums
  • no-number-enums
  • save-days-in-string-when-possible

Potentially slow

  • dangling-foreign-keys

FAQs

Package last updated on 29 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc