@vroskus/eslint-config
TypeScript icon, indicating that this package has built-in type declarations

1.0.13 • Public • Published

@vroskus/eslint-config

Eslint config to make code proper

Installation

Call:

npm install -D @vroskus/eslint-config

yarn add -D @vroskus/eslint-config

Usage

import eslintConfig from '@vroskus/eslint-config';

/* eslintConfig.browser() for dom, eslintConfig.node() for node */
const config = eslintConfig.<browser | node>({
  configs: /* array of additional configs */
  rules: /* object of additional rules */ 
});

export default [
  ...config,
  {
    /*... */
  },
  // ...
];

Dependencies (19)

Dev Dependencies (2)

Package Sidebar

Install

npm i @vroskus/eslint-config

Weekly Downloads

27

Version

1.0.13

License

MIT

Unpacked Size

16.7 kB

Total Files

7

Last publish

Collaborators

  • vroskus