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

eslint-config-mindtouch

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-mindtouch - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

.prettierrc

73

index.js
module.exports = {
'rules': {
plugins: ['prettier'],
rules: {
'prettier/prettier': ['error'],
// Possible Errors
'comma-dangle': 1,
'no-cond-assign': 1,

@@ -17,4 +18,2 @@ 'no-console': 1,

'no-extra-boolean-cast': 1,
'no-extra-parens': [ 1, 'functions' ],
'no-extra-semi': 1,
'no-func-assign': 1,

@@ -36,6 +35,4 @@ 'no-inner-declarations': 1,

'block-scoped-var': 1,
'curly': 1,
'dot-location': [ 1, 'property' ],
'dot-notation': 1,
'eqeqeq': 1,
eqeqeq: 1,
'guard-for-in': 1,

@@ -50,3 +47,2 @@ 'no-caller': 1,

'no-fallthrough': 1,
'no-floating-decimal': 1,
'no-implicit-coercion': 1,

@@ -58,3 +54,2 @@ 'no-implied-eval': 1,

'no-loop-func': 1,
'no-multi-spaces': 1,
'no-multi-str': 1,

@@ -80,5 +75,4 @@ 'no-native-reassign': 1,

'no-with': 1,
'radix': 1,
'wrap-iife': [ 1, 'inside' ],
'yoda': 1,
radix: 1,
yoda: 1,
'object-shorthand': 1,

@@ -97,55 +91,12 @@

// Style
'array-bracket-spacing': [ 1, 'always' ],
'brace-style': 1,
'camelcase': 1,
'comma-spacing': [ 1, { 'before': false, 'after': true } ],
'comma-style': 1,
'computed-property-spacing': 1,
'eol-last': 1,
'indent': [ 1, 4, { 'SwitchCase': 1 } ],
'key-spacing': [ 1, { 'beforeColon': false, 'afterColon': true } ],
'keyword-spacing': [ 1, {
'overrides': {
'catch': { 'after': false },
'for': { 'after': false },
'if': { 'after': false },
'switch': { 'after': false },
'while': { 'after': false }
}
} ],
'lines-around-comment': [ 1, { 'beforeLineComment': true, 'beforeBlockComment': true } ],
'new-cap': [ 1, { 'newIsCap': true, 'capIsNew': false } ],
'new-parens': 1,
// Styles
camelcase: 1,
'new-cap': [1, { newIsCap: true, capIsNew: false }],
'no-lonely-if': 1,
'no-mixed-spaces-and-tabs': 1,
// known issue - conflicts with lines-arround-comment when trying to collapse all space, so the rule lets 1 space through.
'no-multiple-empty-lines': [ 1, { 'max': 1 } ],
'no-nested-ternary': 1,
'no-spaced-func': 1,
'no-trailing-spaces': 1,
'no-unneeded-ternary': 1,
'no-whitespace-before-property': 1,
'object-curly-spacing': [ 1, 'always' ],
'quotes': [ 1, 'single' ],
'semi': [ 1, 'always' ],
'semi-spacing': [ 1, { 'before': false, 'after': true } ],
'space-before-blocks': 1,
'space-before-function-paren': [ 1, {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
} ],
'space-in-parens': [ 1, 'never' ],
'space-infix-ops': 1,
'space-unary-ops': [ 1, { 'words': true, 'nonwords': false } ],
'spaced-comment': [ 1, 'always', { 'exceptions': [ '*' ], 'markers': [ '**' ] } ],
'wrap-regex': 1,
'spaced-comment': [1, 'always', { exceptions: ['*'], markers: ['**'] }],
// ES6
'arrow-parens': 1,
'arrow-spacing': 1,
'constructor-super': 1,
'generator-star-spacing': [ 1, 'after' ],
'no-class-assign': 1,

@@ -157,6 +108,4 @@ 'no-const-assign': 1,

'no-this-before-super': 1,
'require-yield': 1,
'template-curly-spacing': 1,
'yield-star-spacing': [ 1, 'after' ]
'require-yield': 1
}
};
{
"name": "eslint-config-mindtouch",
"version": "1.0.2",
"version": "1.1.0",
"description": "ESLint rules for MindTouch JavaScript projects",

@@ -13,3 +13,7 @@ "main": "index.js",

"mindtouch"
]
],
"dependencies": {
"eslint-plugin-prettier": "^2.3.1",
"prettier": "^1.7.4"
}
}
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