'inheritDoc',
'javascript',
'jsdoc',
+ 'linebreak',
'localhost',
'microjob',
'mjs',
project: './tsconfig.json'
},
extends: [
- 'plugin:@typescript-eslint/recommended',
- 'plugin:@typescript-eslint/recommended-requiring-type-checking',
+ 'plugin:@typescript-eslint/strict-type-checked',
+ 'plugin:@typescript-eslint/stylistic-type-checked',
'plugin:import/typescript',
'standard-with-typescript'
],
rules: {
- '@typescript-eslint/non-nullable-type-assertion-style': 'off',
+ 'operator-linebreak': 'off',
'tsdoc/syntax': 'warn'
}
},
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
'@typescript-eslint/no-redundant-type-constituents': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
- '@typescript-eslint/return-await': 'off'
+ '@typescript-eslint/return-await': 'off',
+ '@typescript-eslint/no-non-null-assertion': 'off'
}
},
{
- files: ['**/*.cjs', '**/*.mjs'],
+ files: ['**/*.cjs', '**/*.js', '**/*.mjs'],
plugins: ['jsdoc'],
extends: ['plugin:n/recommended', 'plugin:jsdoc/recommended', 'standard']
},
{
- files: ['tests/**/*.cjs', 'tests/**/*.mjs'],
+ files: ['tests/**/*.cjs', 'tests/**/*.js', 'tests/**/*.mjs'],
rules: {
'jsdoc/require-jsdoc': 'off'
}
},
{
- files: ['benchmarks/**/*.cjs', 'benchmarks/**/*.mjs'],
+ files: [
+ 'benchmarks/**/*.cjs',
+ 'benchmarks/**/*.js',
+ 'benchmarks/**/*.mjs'
+ ],
rules: {
'jsdoc/require-jsdoc': 'off'
}
},
{
- files: ['examples/javascript/**/*.cjs'],
+ files: ['examples/javascript/**/*.cjs', 'examples/javascript/**/*.js'],
rules: {
'jsdoc/require-jsdoc': 'off'
}