eslint-config
/
2.1.3
eslint-config 2.1.3
Install from the command line:
Learn more about npm packages
$ npm install @wisersolutions/eslint-config@2.1.3
Install via package.json:
"@wisersolutions/eslint-config": "2.1.3"
About this version
Baseline ESLint configurations used by Wiser Solutions, Inc.
Every JavaScript project should start by extending the base config.
{
"extends": "@wisersolutions"
}
Note: The base config requires the babel-eslint
parser installed.
In some specific use-cases (e.g. application projects) or when using some common libraries (e.g. jest
),
use the provided additional config extensions.
{
"extends": [
"@wisersolutions",
"@wisersolutions/eslint-config/jest",
"@wisersolutions/eslint-config/cypress",
"…"
]
}
The following extensions are provided:
-
cypress
- for applications that use Cypress for end-to-end testing (requireseslint-plugin-cypress
), -
jest
- for any project using Jest for unit testing (requireseslint-plugin-jest
), -
react
- for applications or component libraries using React (requireseslint-plugin-react
), -
enzyme
- for applications or component libraries that use Enzyme for testing React components.
There are also combinations provides to simplify the most common use-cases.
{
"extend": "@wisersolutions/eslint-config/application"
}
The following combinations are provided:
-
application
- applications using React, Cypress, and Jest, -
quadro-application
- applications built with the Quadro framework (plus all of the above).
Details
- eslint-config
- WiserSolutions
- over 2 years ago
- MIT
- 6 dependencies
Assets
- eslint-config-2.1.3-npm.tgz
Download activity
- Total downloads 14
- Last 30 days 0
- Last week 0
- Today 0