Socket
Socket
Sign inDemoInstall

@mikmak/eslint-config

Package Overview
Dependencies
0
Maintainers
15
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mikmak/eslint-config

mikmak's eslint rules


Version published
Weekly downloads
65
decreased by-58.06%
Maintainers
15
Created
Weekly downloads
 

Readme

Source

Generic badge

Mikmak-eslint

Mikmak's eslint rules

Usage

Extending your rules

# in your project folder
npm i @mikmak/eslint-config

then in your .eslintrc file add

{
  "extends": "@mikmak"
}

Deployment

We are using github actions/workflows to take care of deployment. We also use this action.

To publish simply bump the version and merge into main.

Contributing

  1. create a new branch from the main branch.
  2. make your commit message starting with one of these tags
    • New rule: [RULE]: for example [RULE] getter-return - enforce return statements in getters
    • Bug fixes: [BUGFIX]: for example [BUGFIX] fix rule not showing warning
    • [FEAT]: for example [FEAT] Adding new template for minor issues.
    • Or if there is a Clubhouse ticket associated use [CH{number of ticket}]: for example [CH1234] Adding new template for minor issues.
  3. Rebase: to make sure you have the latest available code. This also helps keep a linear git history: info on rebasing
  4. Push your changes
  5. Make a PR with title using the above prefix (can just be a copy of the commit message if it starts with the tags)
  6. add one of the following templates (this should also show up while making a PR).
  7. Wait for approvals (at least one person from each team).
  8. Squash and merge into main. It is fine if there are multiple commits, with squash and merge these would turn into one commit. Squash and merge helps with having a linear git history. how to squash & merge on github.

Other things to keep in mind/ resources:

Keywords

FAQs

Last updated on 11 Jan 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc