eslint-config-mgol
Advanced tools
Comparing version 0.0.34 to 0.0.35
@@ -16,3 +16,4 @@ 'use strict'; | ||
// Possible errors | ||
'comma-dangle': ['error', 'always-multiline'], | ||
'no-await-in-loop': 'error', | ||
'no-compare-neg-zero': 'error', | ||
'no-cond-assign': 'error', | ||
@@ -54,2 +55,9 @@ 'no-console': 'off', | ||
'class-methods-use-this': 'off', | ||
'comma-dangle': ['error', { | ||
arrays: 'always-multiline', | ||
objects: 'always-multiline', | ||
imports: 'always-multiline', | ||
exports: 'always-multiline', | ||
functions: 'always-multiline', | ||
}], | ||
complexity: ['warn', 10], | ||
@@ -101,2 +109,3 @@ 'consistent-return': 'error', | ||
'no-return-assign': 'error', | ||
'no-return-await': 'error', | ||
'no-script-url': 'error', | ||
@@ -117,3 +126,5 @@ 'no-self-assign': 'error', | ||
'no-with': 'error', | ||
'prefer-promise-reject-errors': 'error', | ||
radix: 'off', | ||
'require-await': 'off', | ||
'vars-on-top': 'off', | ||
@@ -150,3 +161,3 @@ 'wrap-iife': ['error', 'inside'], | ||
'no-restricted-modules': 'off', | ||
'no-sync': 'off', // in some projects this might be useful | ||
'no-sync': 'off', // In some projects this might be useful | ||
@@ -158,2 +169,6 @@ // Stylistic issues | ||
camelcase: 'off', | ||
'capitalized-comments': ['error', 'always', { | ||
ignoreInlineComments: true, | ||
ignoreConsecutiveComments: true, | ||
}], | ||
'comma-spacing': 'error', | ||
@@ -201,2 +216,3 @@ 'comma-style': 'error', | ||
'no-mixed-spaces-and-tabs': 'error', | ||
'no-multi-assign': 'off', | ||
'no-multiple-empty-lines': ['error', {max: 2, maxEOF: 1}], | ||
@@ -215,2 +231,3 @@ 'no-nested-ternary': 'error', | ||
'no-whitespace-before-property': 'error', | ||
'nonblock-statement-body-position': 'off', | ||
'object-curly-newline': 'off', | ||
@@ -246,2 +263,3 @@ 'object-curly-spacing': ['error', 'never'], | ||
}], | ||
'template-tag-spacing': ['error', 'never'], | ||
'unicode-bom': ['error', 'never'], | ||
@@ -271,2 +289,3 @@ 'wrap-regex': 'off', | ||
'prefer-const': 'error', | ||
'prefer-destructuring': 'off', | ||
'prefer-numeric-literals': 'error', | ||
@@ -273,0 +292,0 @@ 'prefer-spread': 'error', |
{ | ||
"name": "eslint-config-mgol", | ||
"version": "0.0.34", | ||
"version": "0.0.35", | ||
"description": "ESLint config for projects written by mgol", | ||
@@ -29,3 +29,3 @@ "main": "eslint-config-mgol.js", | ||
"devDependencies": { | ||
"eslint": "3.9.1", | ||
"eslint": "3.17.1", | ||
"eslint-find-rules": "1.14.3" | ||
@@ -32,0 +32,0 @@ }, |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
13868
285
0