build: update volta node version
[benchmarks-js.git] / .eslintrc.js
1 // eslint-disable-next-line n/no-unpublished-require
2 const { defineConfig } = require('eslint-define-config')
3
4 module.exports = defineConfig({
5 root: true,
6 env: {
7 es2022: true,
8 node: true
9 },
10 parserOptions: {
11 ecmaVersion: 2022,
12 sourceType: 'module'
13 },
14 plugins: ['promise', 'jsdoc'],
15 extends: [
16 'standard',
17 'eslint:recommended',
18 'plugin:n/recommended',
19 'plugin:jsdoc/recommended',
20 'plugin:import/recommended',
21 'plugin:promise/recommended'
22 ],
23 rules: {
24 'sort-imports': [
25 'warn',
26 {
27 ignoreDeclarationSort: true
28 }
29 ],
30 'import/order': 'warn'
31 }
32 })