1.0.0-beta.9 • Published 8 months ago
@aak.lear/eslint-config v1.0.0-beta.9
@aak.lear/eslint-setup
Install
CLI
Run following command in your project root and select the desired options:
npx @aak.lear/eslint-config
Manually
npm
npm i -D @aak.lear/eslint-config
yarn
yarn add -D @aak.lear/eslint-config
Run this command:
npx install-peerdeps --dev @aak.lear/eslint-config
npm info @aak.lear/eslint-config peerDependencies
Then 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',
],
};
You can also use separate parts of config. But note that you should also install peer dependencies of preferred packages.
Example for .eslintrc.js
:
module.exports = {
extends: [
'@aak-lear/base',
'@aak-lear/typescript',
'@aak-lear/react',
],
};
1.0.0-beta.9
8 months ago
1.0.0-beta.8
8 months ago
1.0.0-beta.7
8 months ago
1.0.0-beta.6
8 months ago
1.0.0-beta.5
8 months ago
1.0.0-beta.4
8 months ago
1.0.0-beta.3
8 months ago
1.0.0-beta.2
8 months ago
1.0.0-beta.1
8 months ago
1.0.0-beta.0
8 months ago