X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=56d4cb83c01c0793eb23bc44da80c4bd92aff4e1;hb=24a482daf493e37a00fa0b3dc04c6ae4ff2990f2;hp=e76f707d87ce468a1e222c2304c067874c62431f;hpb=06fdaf448b6a4e3685ea08a2778b8f49527a64d0;p=benchmarks-js.git diff --git a/.eslintrc.js b/.eslintrc.js index e76f707..56d4cb8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,11 +1,17 @@ +// @ts-check // eslint-disable-next-line n/no-unpublished-require const { defineConfig } = require('eslint-define-config') module.exports = defineConfig({ + root: true, env: { es2021: true, node: true }, + parserOptions: { + ecmaVersion: 2021, + sourceType: 'module' + }, plugins: ['promise', 'prettierx', 'jsdoc'], extends: [ 'standard',