1.0.0-beta.1 • Published 2 years ago
@aak.lear/eslint-config-react v1.0.0-beta.1
@aak.lear/eslint-config-react
This package contains my ESLint rules configuration for React.
You should already have installed ESLint package to use this configuration.
Install
Install with CLI
Run following command in your project root and select the desired options
npx @aak.lear/eslint-configInstall manually
npm
npm i -D @aak.lear/eslint-config-reactyarn
yarn add -D @aak.lear/eslint-config-reactFor the correct work of configuration you should also install peer dependencies.
Run this command:
npx install-peerdeps --dev @aak.lear/eslint-config-reactnpm info @aak.lear/eslint-config-react peerDependenciesThen install all dependencies from list with this template:
npm
npm i -D <dependency>@<version>yarn
yarn add -D <dependency>@<version>Usage
Note: You can skip this configuration step if you chose CLI installation.
Use this extension in your eslint configuration file.
Example for .eslintrc.js:
module.exports = {
extends: [
'@aak-lear/react',
],
};1.0.0-beta.1
2 years ago
1.0.0-beta.0
2 years ago