add 'no-undef', remove 'no-promise-executor-return'
This commit is contained in:
parent
611cba1360
commit
e95d53f25b
2 changed files with 3 additions and 3 deletions
4
index.js
4
index.js
|
@ -62,7 +62,7 @@ module.exports = {
|
||||||
'no-misleading-character-class': 'error',
|
'no-misleading-character-class': 'error',
|
||||||
'no-new-symbol': 'error',
|
'no-new-symbol': 'error',
|
||||||
'no-obj-calls': 'error',
|
'no-obj-calls': 'error',
|
||||||
'no-promise-executor-return': 'warn',
|
// 'no-promise-executor-return': 'warn',
|
||||||
'no-prototype-builtins': 'error',
|
'no-prototype-builtins': 'error',
|
||||||
'no-self-assign': 'error',
|
'no-self-assign': 'error',
|
||||||
'no-self-compare': 'warn',
|
'no-self-compare': 'warn',
|
||||||
|
@ -70,7 +70,7 @@ module.exports = {
|
||||||
'no-sparse-arrays': 'error',
|
'no-sparse-arrays': 'error',
|
||||||
// 'no-template-curly-in-string': 'warn',
|
// 'no-template-curly-in-string': 'warn',
|
||||||
'no-this-before-super': 'error',
|
'no-this-before-super': 'error',
|
||||||
// 'no-undef': 'error',
|
'no-undef': 'error',
|
||||||
'no-unexpected-multiline': 'error',
|
'no-unexpected-multiline': 'error',
|
||||||
// 'no-unmodified-loop-condition': 'warn',
|
// 'no-unmodified-loop-condition': 'warn',
|
||||||
'no-unreachable': 'warn',
|
'no-unreachable': 'warn',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@sup39/eslint-config-basic",
|
"name": "@sup39/eslint-config-basic",
|
||||||
"version": "0.1.0",
|
"version": "0.1.2",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
Loading…
Reference in a new issue