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

eslint-config-riophae

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-riophae

The customized ESLint shareable configs for the development of my open-source projects.

  • 0.16.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eslint-config-riophae npm Build Known vulnerabilities

The customized ESLint shareable configs for the development of my open-source projects.

Usage

First, install this package and its peer dependencies. The command to run is depending on your npm version.

npm VersionCommandNotes
v7 or laternpm install --save-dev eslint-config-riophaenpm will automatically install peer deps for you.
prior to v6npm install --save-dev eslint eslint-plugin-node eslint-plugin-unicorn eslint-plugin-import eslint-config-riophae

Secondly, choose a preset from the following:

Preset NameDescriptionNotes
riophaeFor linting ES6+.
riophae/vue-v3 for Vue 3For linting ES6+ & .vue files.Install one more dependency:
eslint-plugin-vue
riophae/vue-v2 for Vue 2
riophae/legacyFor linting ES5.

Thirdly and lastly, add the preset you just chose to your ESLint config file in the extends field:

{
  "extends": [ "riophae" ],
  "rules": {
    // override if necessary
  }
}

License

MIT © Riophae Lee

Keywords

FAQs

Package last updated on 15 Mar 2021

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