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