@pob/sort-eslint-config

7.0.0 • Public • Published

@pob/sort-eslint-config

sort eslint config

Install

npm install --save @pob/sort-eslint-config

Usage

const fs = require("fs");
const sortPkg = require("@pob/sort-eslint-config");

const pkg = JSON.parse(fs.readFileSync("package.json", "utf-8"));
sortPkg(pkg);
fs.writeFileSync(JSON.stringify(pkg, null, 2), pkg);

Also see

Readme

Keywords

none

Package Sidebar

Install

npm i @pob/sort-eslint-config

Weekly Downloads

764

Version

7.0.0

License

ISC

Unpacked Size

10.6 kB

Total Files

5

Last publish

Collaborators

  • churpeau