New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@medic/eslint-config

Package Overview
Dependencies
Maintainers
9
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medic/eslint-config - npm Package Compare versions

Comparing version 0.0.2 to 1.0.0

21

index.js

@@ -8,12 +8,17 @@ module.exports = {

'curly': 'error',
'eol-last': 'error',
'eqeqeq': 'error',
'guard-for-in': 'error',
'indent': ['error', 2],
'max-len': ['error', { 'code': 120, 'ignoreUrls': true }],
'no-bitwise': 'error',
'no-buffer-constructor': 'error',
'no-caller': 'error',
'no-console': 'off',
'semi': [
'error',
'always'
],
'no-console': 'error',
'no-sequences': 'error',
'no-var': 'error',
'one-var': ['error', 'never'],
'one-var-declaration-per-line': ['error', 'always'],
'prefer-const': 'error',
'prefer-regex-literals': 'error',
'quotes': [

@@ -25,4 +30,8 @@ 'error',

}
]
],
'semi': [
'error',
'always'
],
}
};
{
"name": "@medic/eslint-config",
"version": "0.0.2",
"version": "1.0.0",
"description": "Standard eslint configs for our repos",

@@ -5,0 +5,0 @@ "main": "index.js",

# eslint-config
Standard eslint configs for our repos
Standard eslint configs for Medic Mobile repos
## Usage
1. `npm install @medic/eslint-config --save-dev`
2. Update .eslintrc with `"extends": "@medic/eslint-config"`
## Configurations
- `"@medic/eslint-config"` - the default configuration for all code
- `"@medic/eslint-config/test"` - extends default to include globals for test code
## Publishing
`npm publish`
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