eslint-config-rax

0.1.0 • Public • Published

eslint-config-rax npm

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

Run the following command:

npm install --save-dev eslint eslint-config-rax babel-eslint eslint-plugin-react eslint-plugin-import

Then, add this to your .eslintrc.js file:

// .eslintrc.js
module.exports = {
  extends: ['rax']
};

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

If you use TypeScript, run the following command:

npm install --save-dev eslint eslint-config-rax babel-eslint eslint-plugin-react eslint-plugin-import @typescript-eslint/parser @typescript-eslint/eslint-plugin

Then, Make sure you read about the --ext command line option. Example command line usage:

npx eslint --ext .js,.ts .

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-rax

Weekly Downloads

22

Version

0.1.0

License

BSD-3-Clause

Unpacked Size

11.6 kB

Total Files

7

Last publish

Collaborators

  • ggice
  • rax-publisher