@putout/eslint-config

9.3.0 • Public • Published

@putout/eslint-config NPM version

🐊Putout config for ESLint. If 🐊Putout brakes formatting ESLint will fix it back 😉.

Install

npm i @putout/eslint-config eslint madrun -D

Usage

Create file .eslintrc.json in root of your project with content:

{
    "extends": ["@putout"]
}

Add scripts section to package.json:

{
    "scripts": {
        "lint": "madrun lint",
        "fix:lint": "madrun fix:lint"
    }
}

And create .madrun.mjs:

import {series} from 'madrun';

export default {
    'lint': () => 'putout lib test',
    'fix:lint': () => run('lint', '--fix'),
};
$ npm run lint
$ npm run fix:lint

License

MIT

Dependents (2)

Package Sidebar

Install

npm i @putout/eslint-config

Weekly Downloads

8,583

Version

9.3.0

License

MIT

Unpacked Size

10.1 kB

Total Files

4

Last publish

Collaborators

  • coderaiser