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

eslint-config-sa

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-sa - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

67

index.js

@@ -37,3 +37,3 @@ module.exports = {

// babel inserts "use strict"; for us
"strict": [2, "never"], // http://eslint.org/docs/rules/strict
"strict": 0, // http://eslint.org/docs/rules/strict

@@ -43,3 +43,3 @@ /**

*/
"no-var": 2, // http://eslint.org/docs/rules/no-var
"no-var": 1, // http://eslint.org/docs/rules/no-var
"prefer-const": 2, // http://eslint.org/docs/rules/prefer-const

@@ -61,5 +61,5 @@

*/
"comma-dangle": [2, "always-multiline"], // http://eslint.org/docs/rules/comma-dangle
"comma-dangle": [2, "never"], // http://eslint.org/docs/rules/comma-dangle
"no-cond-assign": [2, "always"], // http://eslint.org/docs/rules/no-cond-assign
"no-console": 1, // http://eslint.org/docs/rules/no-console
"no-console": 0, // http://eslint.org/docs/rules/no-console
"no-debugger": 1, // http://eslint.org/docs/rules/no-debugger

@@ -95,3 +95,3 @@ "no-alert": 1, // http://eslint.org/docs/rules/no-alert

"eqeqeq": 2, // http://eslint.org/docs/rules/eqeqeq
"guard-for-in": 2, // http://eslint.org/docs/rules/guard-for-in
"guard-for-in": 0, // http://eslint.org/docs/rules/guard-for-in
"handle-callback-err": 1,

@@ -126,3 +126,3 @@ "no-caller": 2, // http://eslint.org/docs/rules/no-caller

"radix": 2, // http://eslint.org/docs/rules/radix
"vars-on-top": 2, // http://eslint.org/docs/rules/vars-on-top
"vars-on-top": 0, // http://eslint.org/docs/rules/vars-on-top
"wrap-iife": [2, "any"], // http://eslint.org/docs/rules/wrap-iife

@@ -207,28 +207,35 @@ "yoda": 2, // http://eslint.org/docs/rules/yoda

"react/sort-comp": [2, { // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-comp.md
"order": [
"displayName",
"propTypes",
"contextTypes",
"childContextTypes",
"mixins",
"statics",
"defaultProps",
"constructor",
"getDefaultProps",
"getInitialState",
"getChildContext",
"componentWillMount",
"componentDidMount",
"componentWillReceiveProps",
"shouldComponentUpdate",
"componentWillUpdate",
"componentDidUpdate",
"componentWillUnmount",
"/^on.+$/",
"/^get.+$/",
"/^render.+$/",
"render"
]
"order": [
'lifecycle',
'everything-else',
'renderstuff'
],
"groups": {
lifecycle: [
"displayName",
"propTypes",
"contextTypes",
"childContextTypes",
"mixins",
"statics",
"defaultProps",
"constructor",
"getDefaultProps",
"getInitialState",
"getChildContext",
"componentWillMount",
"componentDidMount",
"componentWillReceiveProps",
"shouldComponentUpdate",
"componentWillUpdate",
"componentDidUpdate",
"componentWillUnmount"
],
renderstuff: [
"render",
"/^render.+$/"
]
}
}]
}
};
{
"name": "eslint-config-sa",
"version": "1.1.0",
"version": "1.1.1",
"description": "eslint config based on airbnb styleguide with personal preferences",

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

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