Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 689 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 689 Bytes

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