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

eslint-config-wcl-backend

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-wcl-backend - npm Package Compare versions

Comparing version 0.1.1 to 0.2.1

5

lint.json

@@ -8,2 +8,5 @@ {

"extends": "loopback",
"parserOptions": {
"ecmaVersion": 8
},
"rules": {

@@ -19,4 +22,6 @@ "strict": "warn",

"one-var": ["error", "never"],
"indent": ["error", 2, {"SwitchCase": 1, "MemberExpression": 1}],
"no-multi-spaces": ["error"],
"linebreak-style": [ "error", "unix" ]
}
}

11

package.json
{
"name": "eslint-config-wcl-backend",
"version": "0.1.1",
"description": "eslint config used in wcl",
"version": "0.2.1",
"description": "eslint config used in WCL",
"main": "lint.json",

@@ -11,6 +11,11 @@ "scripts": {

"eslint",
"loopback"
"loopback",
"wcl"
],
"author": "xavierchow",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Wiredcraft/eslint-config-wcl-backend"
},
"dependencies": {

@@ -17,0 +22,0 @@ "eslint-config-loopback": "^8.0.0"

@@ -1,1 +0,36 @@

# eslint-config-wcl-backend
# eslint-config-wcl-backend
WCL's ESlint shareable configs used for backend, it's extended from [eslint-config-loopback](https://github.com/strongloop/eslint-config-loopback).
## Prerequisite
ESlint@3.18 or later.
## Usage
```
npm i -D eslint eslint-config-wcl-backend
```
Create .eslintrc as following,
```
{
"extends": "wcl-backend"
}
```
## Rules overriding
You can override the rules by adding the `rules`.
```
{
"extends": "wcl-backend",
"rules": {
"eqeqeq": "off"
}
}
```
## License
MIT
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