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

eslint-config-usecases

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-usecases - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "eslint-config-usecases",
"description": "ESLint configs by usecase",
"version": "1.0.2",
"version": "1.0.3",
"author": "Marc-Aurèle DARCHE",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -13,8 +13,11 @@ eslint-config-usecases

* JavaScript in Node.js applications (use this for Electron applications too) ([`usecases/usecase/nodejs`](./usecase/nodejs.js))
* JavaScript in the browsers ([`usecases/usecase/browser`](./usecase/browser.js))
* JavaScript in development code (including automated tests) ([`usecases/usecase/dev`](./usecase/dev.js))
* JavaScript in Node.js applications (use this for Electron applications too)
([`usecases/usecase/nodejs`](./usecase/nodejs.js))
* JavaScript in the browsers
([`usecases/usecase/browser`](./usecase/browser.js))
* JavaScript in development code (including automated tests)
([`usecases/usecase/dev`](./usecase/dev.js))
All those usecases have their special env and rules set, and all those usecases
inherit [some common properties](./usecase/lib/common.js).
All those usecases have their special `env` and `rules` set, while inheriting
[some common properties](./usecase/lib/common.js).

@@ -25,7 +28,13 @@

In your project locally install the `eslint-config-usecases` package:
If not already present, install the `eslint` package locally in your project:
$ npm install eslint --save-dev
Then, still in your project, locally install the `eslint-config-usecases`
package:
$ npm install eslint-config-usecases --save-dev
Then add a file `.eslintrc.js` at the root of your project with the following content:
And finally, you have to add an `.eslintrc.js` file at the root of your project
with the following content:

@@ -32,0 +41,0 @@ ```javascript

Sorry, the diff of this file is not supported yet

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