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

eslint-config-zireael

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-zireael - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

es2015.js

10

client.js

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

'env': {
'browser': true
'browser': true,
'jquery': true
},
'globals': {
'yr': false,
'BEM': false,
'BEMHTML': false,
'modules': false
}
};

301

index.js
module.exports = {
'env': {
'es6': true
},
'rules': {
'indent': ['error', 'tab', {'SwitchCase': 1}],
'linebreak-style': ['error', 'unix'],
'quotes': 'off',
'semi': ['error', 'always'],
'array-bracket-spacing': ['error', 'never'],
'array-callback-return': 'error',
'arrow-spacing': ['error', {'before': true, 'after': true}],
'block-scoped-var': 'warn',
'block-spacing': ['error', 'always'],
'brace-style': ['error', '1tbs', {'allowSingleLine': true}],
'callback-return': 'warn',
'camelcase': ['error', {'properties': 'never'}],
'func-style': 'off',
'lines-around-comment': 'off',
'newline-after-var': 'off',
'no-eval': 'warn',
'no-self-compare': 'error',
'no-shadow': 'warn',
'no-underscore-dangle': 'off',
'no-use-before-define': 'warn',
'one-var-declaration-per-line': 'off',
'radix': 'warn',
'require-jsdoc': 'off',
'space-before-function-paren': [2, {'anonymous': 'always', 'named': 'never'}],
'spaced-comment': 'warn',
'strict': 'off',
'valid-jsdoc': ['warn', {'requireParamDescription': false, 'requireReturnDescription': false}],
'wrap-iife': ['error', 'inside'],
'comma-dangle': ['error', 'never'],
'no-debugger': 'error',
'no-dupe-args': 'error',
'no-dupe-keys': 'error',
'no-empty-character-class': 'error',
'no-ex-assign': 'error',
'no-extra-semi': 'error',
'no-func-assign': 'error',
'no-inner-declarations': 'error',
'no-invalid-regexp': 'error',
'no-irregular-whitespace': 'error',
'no-negated-in-lhs': 'error',
'no-obj-calls': 'error',
'no-sparse-arrays': 'error',
'no-unexpected-multiline': 'error',
'no-unreachable': 'error',
'use-isnan': 'error',
'valid-typeof': 'error',
'block-scoped-var': 'warn',
'comma-spacing': ['error', {'before': false, 'after': true}],
'comma-style': ['error', 'last'],
'complexity': 'warn',
'computed-property-spacing': ['error', 'never'],
'consistent-return': 'warn',
'constructor-super': 'error',
'curly': 'error',
'dot-location': ['error', 'property'],
'no-case-declarations': 'error',
'no-empty-pattern': 'error',
'no-eq-null': 'error',
'no-extra-label': 'error',
'no-implicit-coercion': 'warn',
'no-implicit-globals': 'warn',
'no-return-assign': ['error', 'always'],
'no-throw-literal': 'warn',
'no-unused-labels': 'error',
'no-useless-call': 'error',
'no-void': 'error',
'array-bracket-spacing': ['error', 'never'],
'computed-property-spacing': ['error', 'never'],
'consistent-this': ['warn', 'self'],
'max-len': ['warn', {'code': 120, 'ignoreUrls': true}],
'no-multiple-empty-lines': 'error',
'no-whitespace-before-property': 'error',
'object-curly-spacing': ['error', 'never'],
'quote-props': ['warn', 'consistent'],
'complexity': 'warn',
'vars-on-top': 'off',
'wrap-regex': 'off',
'space-in-parens': ['error', 'never'],
'sort-vars': 'off',
'semi-spacing': 'error',
'operator-linebreak': 'off',
'operator-assignment': 'off',
'no-labels': 'error',
'eol-last': 'warn',
'eqeqeq': ['warn', 'always'],
'func-call-spacing': ['error', 'never'],
'generator-star-spacing': ['error', {'before': false, 'after': true}],
'guard-for-in': 'error',
'handle-callback-err': 'warn',
'id-length': 'off',
'id-blacklist': 'off',
'id-match': 'off',
'init-declarations': 'off',
'indent': ['error', 'tab', {'SwitchCase': 1}],
'key-spacing': ['error', {'beforeColon': false, 'afterColon': true}],
'keyword-spacing': ['error', {'before': true, 'after': true}],
'linebreak-style': ['error', 'unix'],
'max-depth': ['warn', {'maximum': 5}],
'no-with': 'error',
'no-warning-comments': 'off',
'no-unused-expressions': 'error',
'no-unneeded-ternary': 'error',
'no-unmodified-loop-condition': 'error',
'no-alert': 'off',
'no-array-constructor': 'off',
'no-bitwise': 'off',
'no-caller': 'off',
'no-catch-shadow': 'off',
'max-len': ['warn', {'code': 120, 'ignoreUrls': true}],
'new-cap': 'error',
'new-parens': 'error',
'no-array-constructor': 'warn',
'no-bitwise': 'error',
'no-caller': 'error',
'no-case-declarations': 'error',
'no-class-assign': 'error',
'no-cond-assign': 'error',
'no-confusing-arrow': 'off',
'no-console': 'off',
'no-confusing-arrow': 'warn',
'no-const-assign': 'error',
'no-constant-condition': 'error',
'no-continue': 'off',
'no-control-regex': 'error',
'no-debugger': 'error',
'no-delete-var': 'error',
'no-div-regex': 'off',
'no-div-regex': 'warn',
'no-dupe-args': 'error',
'no-dupe-class-members': 'error',
'no-dupe-keys': 'error',
'no-duplicate-case': 'error',
'no-duplicate-imports': 'off',
'no-else-return': 'off',
'no-duplicate-imports': 'error',
'no-empty': 'error',
'no-empty-function': 'off',
'no-extend-native': 'off',
'no-extra-bind': 'off',
'no-empty-character-class': 'error',
'no-empty-pattern': 'error',
'no-eq-null': 'error',
'no-eval': 'warn',
'no-ex-assign': 'error',
'no-extend-native': 'error',
'no-extra-bind': 'warn',
'no-extra-boolean-cast': 'error',
'no-extra-parens': 'off',
'no-extra-label': 'error',
'no-extra-semi': 'error',
'no-fallthrough': 'error',
'no-floating-decimal': 'off',
'no-implied-eval': 'off',
'no-inline-comments': 'off',
'no-invalid-this': 'off',
'no-iterator': 'off',
'no-label-var': 'off',
'no-lone-blocks': 'off',
'no-lonely-if': 'off',
'no-loop-func': 'off',
'no-mixed-requires': 'off',
'no-floating-decimal': 'error',
'no-func-assign': 'error',
'no-global-assign': 'warn',
'no-implicit-coercion': 'warn',
'no-implicit-globals': 'warn',
'no-implied-eval': 'warn',
'no-inner-declarations': 'error',
'no-invalid-regexp': 'error',
'no-invalid-this': 'warn',
'no-irregular-whitespace': 'error',
'no-iterator': 'error',
'no-label-var': 'error',
'no-labels': 'error',
'no-lonely-if': 'warn',
'no-loop-func': 'error',
'no-mixed-spaces-and-tabs': 'error',
'no-multi-spaces': 'off',
'no-multi-str': 'off',
'no-native-reassign': 'off',
'no-negated-condition': 'off',
'no-nested-ternary': 'off',
'no-new': 'off',
'no-new-func': 'off',
'no-new-object': 'off',
'no-new-require': 'off',
'no-multi-spaces': 'error',
'no-multiple-empty-lines': 'error',
'no-negated-condition': 'warn',
'no-negated-in-lhs': 'error',
'no-nested-ternary': 'warn',
'no-new': 'error',
'no-new-func': 'warn',
'no-new-object': 'warn',
'no-new-require': 'error',
'no-new-symbol': 'error',
'no-new-wrappers': 'off',
'no-new-wrappers': 'error',
'no-obj-calls': 'error',
'no-octal': 'error',
'no-octal-escape': 'off',
'no-param-reassign': 'off',
'no-path-concat': 'off',
'no-plusplus': 'off',
'no-process-env': 'off',
'no-process-exit': 'off',
'no-proto': 'off',
'no-octal-escape': 'error',
'no-param-reassign': 'warn',
'no-path-concat': 'warn',
'no-proto': 'error',
'no-redeclare': 'error',
'no-regex-spaces': 'error',
'no-restricted-globals': 'off',
'no-restricted-imports': 'off',
'no-restricted-modules': 'off',
'no-restricted-syntax': 'off',
'no-script-url': 'off',
'no-restricted-syntax': ['error', 'WithStatement'],
'no-return-assign': ['error', 'always'],
'no-script-url': 'error',
'no-self-assign': 'error',
'no-sequences': 'off',
'no-shadow-restricted-names': 'off',
'no-spaced-func': 'off',
'no-sync': 'off',
'no-ternary': 'off',
'no-trailing-spaces': 'off',
'no-self-compare': 'error',
'no-sequences': 'error',
'no-shadow': 'warn',
'no-shadow-restricted-names': 'error',
'no-sparse-arrays': 'error',
'no-this-before-super': 'error',
'no-throw-literal': 'warn',
'no-trailing-spaces': 'error',
'no-undef': 'error',
'no-undef-init': 'off',
'no-undefined': 'off',
'no-undef-init': 'error',
'no-unexpected-multiline': 'error',
'no-unmodified-loop-condition': 'error',
'no-unneeded-ternary': 'error',
'no-unreachable': 'error',
'no-unsafe-finally': 'error',
'no-unused-expressions': 'error',
'no-unused-labels': 'error',
'no-unused-vars': 'error',
'no-useless-concat': 'off',
'no-useless-constructor': 'off',
'no-useless-escape': 'off',
'no-var': 'off',
'no-magic-numbers': 'off',
'array-callback-return': 'off',
'arrow-body-style': 'off',
'arrow-parens': 'off',
'arrow-spacing': 'off',
'accessor-pairs': 'off',
'block-spacing': 'off',
'callback-return': 'off',
'comma-spacing': 'off',
'comma-style': 'off',
'consistent-return': 'off',
'constructor-super': 'error',
'default-case': 'off',
'dot-notation': 'off',
'eol-last': 'off',
'eqeqeq': 'off',
'func-names': 'off',
'generator-star-spacing': 'off',
'global-require': 'off',
'jsx-quotes': 'off',
'key-spacing': 'off',
'keyword-spacing': 'off',
'max-nested-callbacks': 'off',
'max-params': 'off',
'max-statements': 'off',
'max-statements-per-line': 'off',
'new-cap': 'off',
'new-parens': 'off',
'newline-before-return': 'off',
'newline-per-chained-call': 'off',
'object-shorthand': 'off',
'one-var': 'off',
'padded-blocks': 'off',
'prefer-arrow-callback': 'off',
'prefer-const': 'off',
'prefer-reflect': 'off',
'prefer-rest-params': 'off',
'prefer-spread': 'off',
'prefer-template': 'off',
'require-yield': 'off',
'sort-imports': 'off',
'space-before-blocks': 'off',
'space-infix-ops': 'off',
'space-unary-ops': 'off',
'template-curly-spacing': 'off',
'yield-star-spacing': 'off',
'yoda': 'off'
'no-use-before-define': 'warn',
'no-useless-call': 'error',
'no-useless-concat': 'error',
'no-useless-constructor': 'error',
'no-useless-escape': 'error',
'no-void': 'error',
'no-whitespace-before-property': 'error',
'no-with': 'error',
'object-curly-spacing': ['error', 'never'],
'quotes': ['error', 'single'],
'radix': 'warn',
'semi': ['error', 'always'],
'semi-spacing': 'error',
'space-before-blocks': 'error',
'space-before-function-paren': [2, {'anonymous': 'always', 'named': 'never'}],
'space-in-parens': ['error', 'never'],
'space-infix-ops': 'error',
'space-unary-ops': 'error',
'spaced-comment': 'warn',
'strict': 'warn',
'template-curly-spacing': ['error', 'never'],
'use-isnan': 'error',
'valid-jsdoc': ['warn', {'requireParamDescription': false, 'requireReturnDescription': false}],
'valid-typeof': 'error',
'wrap-iife': ['error', 'inside'],
'yield-star-spacing': ['error', {'before': false, 'after': true}]
}
};
{
"name": "eslint-config-zireael",
"version": "1.2.0",
"version": "2.0.0",
"description": "ESLint shareable config",

@@ -17,3 +17,4 @@ "main": "index.js",

"babel-eslint": "^6.0.0",
"eslint": "^2.5.3"
"eslint": "^3.7.1",
"eslint-plugin-react": "^6.4.0"
},

@@ -20,0 +21,0 @@ "scripts": {

module.exports = {
'extends': 'zireael',
'extends': 'zireael/es2015',
'env': {
'node': true
},
'rules': {
'global-require': 'warn'
}
};
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