Socket
Socket
Sign inDemoInstall

eslint-config-spartez

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-spartez - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

37

index.js
module.exports = {
"rules": {
"indent": ["warn", 4, { "SwitchCase": 1 }],
"quotes": ["warn", "single", { "allowTemplateLiterals": true }],
"linebreak-style": ["warn", "unix"],
"semi": ["warn", "always"],
"eqeqeq": "warn",
"max-len": ["warn", 120, 4, { "ignoreUrls": true }],
"comma-dangle": ["warn", "never"],
"no-unused-vars": ["warn"],
"no-undef": ["warn"]
rules: {
'comma-dangle': ['warn', 'never'],
'comma-spacing': ['warn', {
'before': false,
'after': true
}],
'eqeqeq': 'warn',
'indent': ['warn', 4, { 'SwitchCase': 1 }],
'linebreak-style': ['warn', 'unix'],
'max-len': ['warn', 120, 4, { 'ignoreUrls': true }],
'no-undef': ['warn'],
'no-unused-vars': ['warn'],
'object-curly-spacing': ['warn', 'always'],
'quotes': ['warn', 'single', { 'allowTemplateLiterals': true }],
'semi': ['warn', 'always']
},
"env": {
"es6": true,
"node": true,
"browser": true
env: {
'es6': true,
'node': true,
'browser': true
},
"parser": "babel-eslint"
}
parser: 'babel-eslint'
};
{
"name": "eslint-config-spartez",
"version": "1.2.0",
"version": "1.3.0",
"description": "Spartez's base JS ESLint config",

@@ -8,2 +8,6 @@ "scripts": {

},
"repository": {
"type": "git",
"url": "git+https://github.com/spartez/eslint-config-spartez.git"
},
"keywords": [

@@ -10,0 +14,0 @@ "spartez",

@@ -17,3 +17,3 @@ # eslint-config-spartez

{
"extends": "spartez"
"extends": "spartez"
}

@@ -20,0 +20,0 @@ ```

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