onecfg-lib-eslint
v1.1.0
Published
An ESLint config for use in onecfg projects.
Downloads
7
Readme
onecfg-lib-eslint
An ESLint config for use in onecfg projects.
Installation
npm install onecfg-lib-eslint
Usage Example
eslint.config.js
:
import { createConfigs } from 'onecfg-lib-eslint';
export default [
{ ignores: [`dist/`, `lib/`] },
...createConfigs({
browser: true,
node: true,
}),
];