eslint-config-mgol
Advanced tools
Comparing version 0.0.47 to 0.0.48
@@ -39,4 +39,6 @@ 'use strict'; | ||
'no-irregular-whitespace': 'error', | ||
'no-loss-of-precision': 'error', | ||
'no-misleading-character-class': 'error', | ||
'no-obj-calls': 'error', | ||
'no-promise-executor-return': 'error', | ||
'no-prototype-builtins': 'error', | ||
@@ -49,4 +51,8 @@ 'no-regex-spaces': 'error', | ||
'no-unreachable': 'error', | ||
'no-unreachable-loop': 'error', | ||
'no-unsafe-finally': 'error', | ||
'no-unsafe-negation': 'error', | ||
'no-unsafe-optional-chaining': 'error', | ||
'no-unused-private-class-members': 'error', | ||
'no-useless-backreference': 'error', | ||
'require-atomic-updates': 'error', | ||
@@ -65,2 +71,3 @@ 'use-isnan': 'error', | ||
'default-case': 'error', | ||
'default-case-last': 'error', | ||
'default-param-last': 'error', | ||
@@ -103,2 +110,3 @@ 'dot-notation': 'error', | ||
'no-new': 'error', | ||
'no-nonoctal-decimal-escape': 'error', | ||
'no-octal-escape': 'error', | ||
@@ -178,3 +186,3 @@ 'no-octal': 'error', | ||
'func-style': ['error', 'expression'], | ||
'id-blacklist': ['error', 'arguments', 'event'], | ||
'id-denylist': ['error', 'arguments', 'event'], | ||
'id-length': 'off', | ||
@@ -233,3 +241,3 @@ 'id-match': 'off', | ||
], | ||
'no-tabs': 'error', | ||
'no-tabs': ['error', { allowIndentationTabs: true }], | ||
'no-ternary': 'off', | ||
@@ -269,3 +277,3 @@ 'no-underscore-dangle': 'off', | ||
// ECMAScript 6 | ||
// ECMAScript 2015+ | ||
'arrow-body-style': ['error', 'as-needed'], | ||
@@ -279,2 +287,3 @@ 'constructor-super': 'error', | ||
'no-new-symbol': 'error', | ||
'no-restricted-exports': 'off', | ||
'no-this-before-super': 'error', | ||
@@ -290,2 +299,3 @@ 'no-var': 'error', | ||
'prefer-numeric-literals': 'error', | ||
'prefer-object-has-own': 'error', | ||
'prefer-spread': 'error', | ||
@@ -292,0 +302,0 @@ 'prefer-rest-params': 'error', |
{ | ||
"name": "eslint-config-mgol", | ||
"version": "0.0.47", | ||
"version": "0.0.48", | ||
"description": "ESLint config for projects written by mgol", | ||
@@ -29,12 +29,12 @@ "main": "eslint-config-mgol.js", | ||
"devDependencies": { | ||
"eslint": "6.8.0", | ||
"eslint-config-prettier": "6.10.1", | ||
"eslint-find-rules": "3.4.0", | ||
"husky": "4.2.3", | ||
"lint-staged": "10.1.1", | ||
"prettier": "2.0.2" | ||
"eslint": "^8.8.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-find-rules": "^4.1.0", | ||
"husky": "^7.0.4", | ||
"lint-staged": "^12.3.3", | ||
"prettier": "^2.5.1" | ||
}, | ||
"scripts": { | ||
"ensure-all-rules-specified": "eslint-find-rules -u eslint-config-mgol-test.js", | ||
"ensure-prettier-rules-disabled": "eslint --print-config eslint-config-mgol.js | eslint-config-prettier-check", | ||
"ensure-prettier-rules-disabled": "eslint-config-prettier eslint-config-mgol.js", | ||
"prettier-check": "prettier --check '**/*.{json,js,yml,yaml,md}'", | ||
@@ -41,0 +41,0 @@ "prettier-format": "prettier --write '**/*.{json,js,yml,yaml,md}'", |
# eslint-config-mgol | ||
[![travis build](https://img.shields.io/travis/mgol/eslint-config-mgol.svg?style=flat-square)](https://travis-ci.org/mgol/eslint-config-mgol) | ||
[![GitHub build](https://img.shields.io/github/workflow/status/mgol/eslint-config-mgol/CI?style=flat-square)](https://github.com/mgol/eslint-config-mgol/actions) | ||
[![version](https://img.shields.io/npm/v/eslint-config-mgol.svg?style=flat-square)](http://npm.im/eslint-config-mgol) | ||
@@ -5,0 +5,0 @@ [![downloads](https://img.shields.io/npm/dm/eslint-config-mgol.svg?style=flat-square)](http://npm-stat.com/charts.html?package=eslint-config-mgol) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14013
287