'unlink',
'unref',
'utf8',
- 'webcrypto',
'workerpool',
'ws',
'wss',
'standard-with-typescript'
],
rules: {
- '@typescript-eslint/no-inferrable-types': [
- 'error',
- { ignoreProperties: true }
- ],
+ '@typescript-eslint/non-nullable-type-assertion-style': 'off',
'tsdoc/syntax': 'warn'
}
},
{
files: ['examples/typescript/**/*.ts'],
rules: {
- 'import/no-unresolved': 'off',
+ 'import/no-unresolved': [
+ 'error',
+ {
+ ignore: [
+ '^axios$',
+ '^express$',
+ '^fastify$',
+ '^fastify-plugin$',
+ '^node-fetch$',
+ '^nodemailer$',
+ '^poolifier$',
+ '^ws$'
+ ]
+ }
+ ],
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
{
files: ['examples/javascript/**/*.js'],
rules: {
- 'n/no-missing-require': 'off',
'jsdoc/require-jsdoc': 'off'
}
}