+ '@typescript-eslint/no-unsafe-argument': 'off',
+ '@typescript-eslint/no-unsafe-call': 'off',
+ '@typescript-eslint/no-unsafe-return': 'off',
+ '@typescript-eslint/no-unsafe-assignment': 'off',
+ '@typescript-eslint/no-unsafe-member-access': 'off',
+ '@typescript-eslint/no-unnecessary-type-assertion': 'off',
+ '@typescript-eslint/no-redundant-type-constituents': 'off',
+ },
+ },
+ {
+ files: ['examples/**/*.js', 'examples/**/*.cjs'],
+ rules: {
+ 'n/no-missing-import': [
+ 'error',
+ {
+ allowModules: ['ws'],
+ },
+ ],