build(deps-dev): apply updates
[benchmarks-js.git] / .eslintrc.cjs
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 sourceType: 'module',
12 ecmaVersion: 2022
13 },
14 plugins: ['simple-import-sort', '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 'simple-import-sort/imports': 'error',
25 'simple-import-sort/exports': 'error'
26 }
27 })