Skip to content

A carefully curated subset of JavaScript that focuses on harmony

License

Notifications You must be signed in to change notification settings

gurgunday/grules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grules img.shields.io/bundlephobia/minzip/grules

nonbreakingrules is a carefully curated subset of JavaScript that focuses on harmony.

It will not prevent you from writing code that is fast, but it will guide you to write code that is coherent and elegant.

grules.png

Installation

npm i grules

Usage

Create eslint.config.js at the root of the project:

import grules from "grules";

export default [...grules];

Add the following to package.json:

"scripts": {
  "lint": "eslint . && prettier --check .",
  "lint:fix": "eslint --fix . && prettier --write ."
}