X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=0f4574993a6b7a63741b35bc969a73c07c271aa5;hb=a551f3165f8e39ad826de48c772d1203a5c9c9de;hp=4ca2c63592fca622df81986e10da3a1a8dbe673a;hpb=0fc3a5027386712c17cd827cce0232a6974793e0;p=benchmarks-js.git diff --git a/.eslintrc.js b/.eslintrc.js index 4ca2c63..0f45749 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -4,11 +4,11 @@ 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'], @@ -24,9 +24,9 @@ module.exports = defineConfig({ 'sort-imports': [ 'warn', { - ignoreMemberSort: true, ignoreDeclarationSort: true } - ] + ], + 'import/order': 'warn' } })