],
},
},
- ...neostandard({
- ts: true,
- globals: {
- ...globals.mocha,
- },
- }),
...plugins['typescript-eslint'].config(
...plugins['typescript-eslint'].configs.strictTypeChecked,
...plugins['typescript-eslint'].configs.stylisticTypeChecked
},
},
},
+ {
+ files: ['**/*.js', '**/*.mjs', '**/*.cjs'],
+ ...plugins['typescript-eslint'].configs.disableTypeChecked,
+ },
{
plugins: {
'simple-import-sort': simpleImportSort,
'simple-import-sort/exports': 'error',
},
},
+ ...neostandard({
+ ts: true,
+ globals: {
+ ...globals.mocha,
+ },
+ }),
{
files: [
'src/pools/selection-strategies/fair-share-worker-choice-strategy.ts',
'@stylistic/operator-linebreak': 'off',
},
},
- {
- files: ['**/*.js', '**/*.mjs', '**/*.cjs'],
- ...plugins['typescript-eslint'].configs.disableTypeChecked,
- },
// examples specific configuration
{
files: ['examples/**/*.ts'],