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

eslint-config-cheminfo

Package Overview
Dependencies
Maintainers
4
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-cheminfo - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

.idea/watcherTasks.xml

10

History.md

@@ -0,1 +1,11 @@

<a name="1.3.0"></a>
# [1.3.0](https://github.com/cheminfo/eslint-config/compare/v1.2.1...v1.3.0) (2016-10-11)
### Features
* add many rules ([b579693](https://github.com/cheminfo/eslint-config/commit/b579693))
<a name="1.2.1"></a>

@@ -2,0 +12,0 @@ ## [1.2.1](https://github.com/cheminfo/eslint-config/compare/v1.2.0...v1.2.1) (2016-09-14)

37

index.js

@@ -9,2 +9,3 @@ 'use strict';

parserOptions: {
ecmaVersion: '2015',
sourceType: 'script'

@@ -17,2 +18,4 @@ },

rules: {
'array-bracket-spacing': ['error', 'always'],
'array-callback-return': 'error',
'brace-style': ['error', '1tbs'],

@@ -22,2 +25,3 @@ 'camelcase': 'error',

'comma-style': 'error',
'curly': ['error', 'all'],
'eol-last': 'error',

@@ -30,4 +34,32 @@ 'eqeqeq': ['error', 'allow-null'],

'no-cond-assign': 'error',
'no-console': 'error',
'no-constant-condition': ['error', {checkLoops: false}],
'no-control-regex': 'error',
'no-debugger': 'error',
'no-delete-var': 'error',
'no-dupe-args': 'error',
'no-dupe-keys': 'error',
'no-duplicate-case': 'error',
'no-empty': 'error',
'no-empty-character-class': 'error',
'no-ex-assign': 'error',
'no-extra-boolean-cast': 'error',
'no-extra-semi': 'error',
'no-func-assign': 'error',
'no-invalid-regexp': 'error',
'no-irregular-whitespace': 'error',
'no-label-var': 'error',
'no-multiple-empty-lines': ['error', {max: 2, maxEOF: 1, maxBOF: 1}],
'no-obj-calls': 'error',
'no-regex-spaces': 'error',
'no-shadow-restricted-names': 'error',
'no-sparse-arrays': 'error',
'no-template-curly-in-string': 'error',
'no-trailing-spaces': 'error',
'no-undef': 'error',
'no-undef-init': 'error',
'no-unexpected-multiline': 'error',
'no-unreachable': 'error',
'no-unsafe-negation': 'error',
'object-curly-spacing': ['error', 'never'],
'quotes': ['error', 'single', 'avoid-escape'],

@@ -39,7 +71,10 @@ 'semi': 'error',

'space-in-parens': ['error', 'never'],
'space-infix-ops': 'error',
'space-infix-ops': ['error', {int32Hint: true}],
'space-unary-ops': 'error',
'strict': ['error', 'global'],
'use-isnan': 'error',
'valid-typeof': 'error',
'no-only-tests/no-only-tests': 'error'
}
};

2

package.json
{
"name": "eslint-config-cheminfo",
"version": "1.2.1",
"version": "1.3.0",
"description": "Shared ESLint config for cheminfo and ml.js projects",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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