-// @ts-check
// eslint-disable-next-line n/no-unpublished-require
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
root: true,
env: {
- es2021: true,
+ es2022: true,
node: true
},
parserOptions: {
- ecmaVersion: 2021,
+ ecmaVersion: 2022,
sourceType: 'module'
},
plugins: ['promise', 'jsdoc'],
'sort-imports': [
'warn',
{
- ignoreMemberSort: true,
ignoreDeclarationSort: true
}
- ]
+ ],
+ 'import/order': 'warn'
}
})