X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=0f4574993a6b7a63741b35bc969a73c07c271aa5;hb=625258463acb59096eafc91559d9765a74744c2e;hp=84a78c95e2282e25400ba1715ee92e2ea74f26c6;hpb=51c84d4b4b7a6bf52d72bfd353d29264f291a720;p=benchmarks-js.git diff --git a/.eslintrc.js b/.eslintrc.js index 84a78c9..0f45749 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,15 +1,14 @@ -// @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'], @@ -25,9 +24,9 @@ module.exports = defineConfig({ 'sort-imports': [ 'warn', { - ignoreMemberSort: true, ignoreDeclarationSort: true } - ] + ], + 'import/order': 'warn' } })