eslint-config-payfit
v3.4.0
Published
PayFit ESLint Configuration
Readme
eslint-config-payfit
How to install
npx install-peerdeps --dev eslint-config-payfitHow to use
Required configuration
This configuration adds the common javascript rules. Edit your .eslintrc file:
{
"extends": ["payfit"]
}Browser configuration
This configuration adds the common javascript rules and the browser rules (react for example). Edit your .eslintrc file:
{
"extends": ["payfit", "payfit/react"]
}Nodejs configuration
This configuration adds the common javascript rules and the nodejs rules. Edit your .eslintrc file:
{
"extends": ["payfit", "payfit/node"]
}Testing configuration
This configuration adds the common javascript rules and the jest rules. Edit your .eslintrc file:
{
"extends": ["payfit", "payfit/jest"]
}