ae288a7c0ae81acc761208fa7045df0dce0e5eef
2 const { defineConfig
} = require('eslint-define-config')
4 module
.exports
= defineConfig({
15 plugins
: ['promise', 'spellcheck'],
18 'plugin:import/recommended',
19 'plugin:promise/recommended'
25 ignoreMemberSort
: true,
26 ignoreDeclarationSort
: true
30 'spellcheck/spell-checker': [
76 skipIfMatch
: ['^@.*', '^plugin:.*']
83 plugins
: ['@typescript-eslint', 'eslint-plugin-tsdoc'],
84 parser
: '@typescript-eslint/parser',
86 project
: './tsconfig.json'
89 'plugin:@typescript-eslint/eslint-recommended',
90 'plugin:@typescript-eslint/recommended',
91 'plugin:@typescript-eslint/recommended-requiring-type-checking',
92 'plugin:import/typescript',
93 'standard-with-typescript'
96 '@typescript-eslint/no-inferrable-types': [
98 { ignoreProperties
: true }
100 'tsdoc/syntax': 'warn'
104 files
: ['examples/typescript/**/*.ts'],
106 'import/no-unresolved': 'off',
107 '@typescript-eslint/no-unsafe-argument': 'off',
108 '@typescript-eslint/no-unsafe-call': 'off',
109 '@typescript-eslint/no-unsafe-assignment': 'off'
113 files
: ['**/*.js', '**/*.mjs'],
115 extends: ['plugin:n/recommended', 'plugin:jsdoc/recommended', 'standard']
118 files
: ['tests/**/*.js'],
120 'jsdoc/require-jsdoc': 'off'
124 files
: ['tests/pools/selection-strategies/**/*.js'],
126 'n/no-missing-require': 'off'
130 files
: ['benchmarks/**/*.js'],
132 'jsdoc/require-jsdoc': 'off'
136 files
: ['benchmarks/versus-external-pools/**/*.js'],
138 'n/no-missing-require': 'off'
142 files
: ['examples/**/*.js'],
144 'n/no-missing-require': 'off',
145 'jsdoc/require-jsdoc': 'off'