Socket
Socket
Sign inDemoInstall

@explodingcamera/eslint-config

Package Overview
Dependencies
8
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @explodingcamera/eslint-config

For new projects, I recommend using [Rome](https://rome.tools/) instead. It's a lot faster than ESLint/Prettier and works great out of the box. I will still maintain this repo for my own legacy projects.


Version published
Maintainers
1
Install size
28.4 MB
Created

Readme

Source

ESLint shareable config

Disclaimer

For new projects, I recommend using Rome instead. It's a lot faster than ESLint/Prettier and works great out of the box. I will still maintain this repo for my own legacy projects.

Install

$ npm install -D -E eslint @explodingcamera/eslint-config

(for typescript support, you need to have typescript installed too)

Usage

Install the eslint plugin for your editor and enable Fix-On-Save, then, add the ESLint config in your package.json:

{
	"name": "my-awesome-project",
	"eslintConfig": {
		"extends": "@explodingcamera/eslint-config"
	}
}

Or in .eslintrc.json:

{
	"extends": "@explodingcamera/eslint-config"
}

Now you can also use it via the eslint cli:

$ npx eslint file.js

Note for vs-code users:

Sometimes the vscode plugin can act up, I recommend updating your config:

    "editor.formatOnSave": false,
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
		},

FAQs

Last updated on 18 Mar 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc