Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-touch4it

Package Overview
Dependencies
Maintainers
0
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-touch4it

ESLint configuration for ES6+ projects based on XO

  • 18.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
28
Maintainers
0
Weekly downloads
 
Created
Source

eslint-config-touch4it

npm peer dependency version (scoped) GitHub license npm version node version vulnerabilities last commit

ESLint shareable config based on for XO

Install

npm install --save-dev eslint-config-touch4it

Usage

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"
}

License

ISC © Touch4IT

Keywords

FAQs

Package last updated on 09 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc