Package Exports
- eslint-config-touch4it
- eslint-config-touch4it/index.js
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-touch4it) 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-touch4it
ESLint shareable config based on for XO
Install
npm install --save-dev eslint-config-touch4itUsage
Built for ES2019+
Add some ESLint config to your package.json:
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": "touch4it"
}
}Or to .eslintrc:
{
"extends": "touch4it"
}touch4it/node for Node.js projects:
{
"extends": "touch4it/node"
}touch4it/mocha for Mocha-tested projects:
{
"extends": [
"touch4it/node",
"touch4it/mocha"
]
}touch4it/jsdoc for JSDoc-documented projects:
{
"extends": [
"touch4it/node",
"touch4it/jsdoc"
]
}touch4it/sails for Sails.js projects:
{
"extends": "touch4it/sails"
}Default Node configuration is written for ESM, however you can still use touch4it/commonjs for CommonJS projects:
{
"extends": [
"touch4it/node",
"touch4it/commonjs"
]
}And touch4it/browser for browser:
{
"extends": "touch4it/browser"
}