0.1.0 • Published 5 years ago
eslint-config-rax v0.1.0
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-importThen, 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-pluginThen, Make sure you read about the --ext command line option. Example command line usage:
npx eslint --ext .js,.ts .