Skip to content

Commit

Permalink
chore(basic): refesh standard.js (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Jun 2, 2023
1 parent 0947ddb commit 7b48da2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/eslint-config-basic/standard.js
Expand Up @@ -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'],
Expand Down Expand Up @@ -126,7 +130,7 @@ module.exports = {
'no-mixed-operators': ['error', {
groups: [
['==', '!=', '===', '!==', '>', '>=', '<', '<='],
['&&', '||', '?:'],
['&&', '||'],
['in', 'instanceof'],
],
allowSamePrecedence: true,
Expand Down

0 comments on commit 7b48da2

Please sign in to comment.