@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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @pob/sort-eslint-config

    Weekly Downloads

    494

    Version

    7.0.0

    License

    ISC

    Unpacked Size

    10.6 kB

    Total Files

    5

    Last publish

    Collaborators

    • churpeau