eslint-config-rax
v0.1.0 rax eslint
eslint-config-rax
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 .
npm i eslint-config-rax
Metadata
- BSD-3-Clause
- Whatever
- Unknown
- released 6/17/2020