Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-heck) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-config-heck
eslint-config-heck contains an ESLint configuration for ES2015+, TypeScript, and React.
Installation
npm install --save-dev eslint eslint-config-heck
Usage
To use one of the included configurations, create a .eslintrc.json
file and use the extends
keyword.
For a Node.js project use:
{
"extends": "heck/node"
}
If you are in the browser, use:
{
"extends": "heck/browser"
}
Extensions
Optionally you can enable some complexity rules by using the complexity configuration in addition to the node or browser rules:
{
"extends": ["heck/node", "heck/complexity"]
}
Optionally you switch to another import sorting rule, which groups the imports by type and supports auto fixing. You can enable this rule by adding the groupImports configuration in addition to the node or browser rules:
{
"extends": ["heck/node", "heck/groupImports"]
}