npm.io
0.26.2 • Published 1 year ago

grules

Licence
MIT
Version
0.26.2
Deps
7
Size
41 kB
Vulns
0
Weekly
0

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 ."
}