chore(basic): refesh standard.js
(#193)
This commit is contained in:
parent
0947ddb151
commit
7b48da27dc
@ -9,20 +9,24 @@ module.exports = {
|
||||
},
|
||||
sourceType: 'module',
|
||||
},
|
||||
|
||||
env: {
|
||||
es2021: true,
|
||||
node: true,
|
||||
},
|
||||
|
||||
plugins: [
|
||||
'import',
|
||||
'n',
|
||||
'promise',
|
||||
],
|
||||
|
||||
globals: {
|
||||
document: 'readonly',
|
||||
navigator: 'readonly',
|
||||
window: 'readonly',
|
||||
},
|
||||
|
||||
rules: {
|
||||
'no-var': 'warn',
|
||||
'object-shorthand': ['warn', 'properties'],
|
||||
@ -126,7 +130,7 @@ module.exports = {
|
||||
'no-mixed-operators': ['error', {
|
||||
groups: [
|
||||
['==', '!=', '===', '!==', '>', '>=', '<', '<='],
|
||||
['&&', '||', '?:'],
|
||||
['&&', '||'],
|
||||
['in', 'instanceof'],
|
||||
],
|
||||
allowSamePrecedence: true,
|
||||
|
Loading…
Reference in New Issue
Block a user