eslint-config-cat

0.2.2 • Public • Published

eslint-config-cat NPM version Build Status

Getting Started

Install packages using yarn (we assume you have pre-installed npm and node.js).

  • Install

    yarn add eslint eslint-config-cat @babel/core babel-plugin-module-resolver --dev
  • Example

    // .eslintrc.js
    module.exports = { 
      ...
      extends: [
        'cat'
      ],
      ...
    };
     
    // .babelrc.js
    // You muse have .babelrc.js for eslint-import-resolver-babel-module
    const alias = {};
     
    module.exports = alias;

    You can see the example of .babelrc.js.

License

MIT © HsuTing

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-cat

Weekly Downloads

6

Version

0.2.2

License

MIT

Unpacked Size

6.01 kB

Total Files

5

Last publish

Collaborators

  • hsuting