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

eslint-config-tui

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-tui - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

package.json
{
"name": "eslint-config-tui",
"version": "1.0.1",
"version": "1.0.2",
"description": "ESLint sharable config for TUI components",

@@ -10,3 +10,3 @@ "main": "index.js",

"peerDependencies": {
"eslint": ">= 3"
"eslint": ">= 4"
},

@@ -13,0 +13,0 @@ "repository": {

module.exports = {
rules: {
// Possible Errors
'for-direction': 2,
'getter-return': [2, {'allowImplicit': false}],
'no-cond-assign': [2, 'always'],

@@ -5,0 +7,0 @@ 'no-console': 1,

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

'no-const-assign': 2,
'no-confusing-arrow': [2, {'allowParens': true}],
'no-confusing-arrow': 0,
'no-dupe-class-members': 2,

@@ -16,0 +16,0 @@ 'no-duplicate-imports': 2,

@@ -15,4 +15,5 @@ module.exports = {

'no-restricted-modules': 0,
'no-sync': 0
'no-sync': [2, {'allowAtRootLevel': false}],
'no-buffer-constructor': 2
}
};

@@ -5,2 +5,4 @@ module.exports = {

'array-bracket-spacing': [2, 'never'],
'array-bracket-newline': 0,
'array-element-newline': 0,
'block-spacing': [2, 'never'],

@@ -29,3 +31,2 @@ 'brace-style': [2, '1tbs', {'allowSingleLine': false}],

'lines-around-comment': 0,
'lines-around-directive': 2,
'max-depth': [2, 3],

@@ -36,6 +37,5 @@ 'max-len': [2, {'code': 120, 'tabWidth': 4, 'ignoreStrings': true, 'ignoreComments': true, 'ignoreRegExpLiterals': true}],

'max-statements': 0,
'multiline-ternary': [2, 'never'],
'multiline-ternary': 0,
'new-cap': 2,
'new-parens': 2,
'newline-after-var': 0,
'no-array-constructor': 0,

@@ -56,3 +56,3 @@ 'no-bitwise': 0,

'no-ternary': 0,
'no-trailing-spaces': 2,
'no-trailing-spaces': [2, {'skipBlankLines': false, 'ignoreComments': false}],
'no-underscore-dangle': 0,

@@ -68,7 +68,13 @@ 'no-unneeded-ternary': 2,

'padded-blocks': [2, 'never'],
'padding-line-between-statements': [2,
{ blankLine: "always", prev: "*", next: "return" },
{ blankLine: "always", prev: "directive", next: "*" }, { blankLine: "any", prev: "directive", next: "directive" },
{ blankLine: "any", prev: ["const", "let", "var"], next: "*"}, { blankLine: "any", prev: ["const", "let", "var"], next: ["const", "let", "var"]}
],
'quote-props': 0,
'quotes': [2, 'single', {'avoidEscape': true, 'allowTemplateLiterals': true}],
'require-jsdoc': 1,
'semi': 2,
'semi-spacing': [2, {'before': false, 'after': true}],
'semi': 2,
'semi-style': [2, 'last'],
'sort-keys': 0,

@@ -87,2 +93,3 @@ 'sort-vars': 0,

}],
'switch-colon-spacing': [2, {'after': true, 'before': false}],
'wrap-regex': 0,

@@ -89,0 +96,0 @@ 'newline-before-return': 1,

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