7 parser
: '@typescript-eslint/parser',
22 'plugin:@typescript-eslint/recommended',
23 'plugin:import/errors',
24 'plugin:import/warnings',
25 'plugin:import/typescript',
26 'plugin:promise/recommended',
27 'plugin:prettierx/standardx',
28 'plugin:prettierx/@typescript-eslint'
33 // We have some intentionally empty functions
34 '@typescript-eslint/no-empty-function': 'off',
36 '@typescript-eslint/no-inferrable-types': [
38 { ignoreProperties
: true }
44 ignoreMemberSort
: true,
45 ignoreDeclarationSort
: true
49 'spellcheck/spell-checker': [
64 skipIfMatch
: ['^@.*', '^plugin:.*']
70 files
: ['src/**/*.ts'],
71 extends: 'plugin:jsdoc/recommended',
73 'jsdoc/match-description': [
77 '/^[A-Z`].+?(\\.|:)(\\n\\n.*((\\n{1,2}- .+)|(_.+_)|`.+`|\\n\\n---))?$/us',
78 matchDescription
: '^[A-Z`].+(\\.|`.+`)$',
86 'jsdoc/no-types': 'error',
87 'jsdoc/require-jsdoc': [
92 'ClassProperty:not([accessibility=/(private|protected)/])',
93 'ExportNamedDeclaration:has(VariableDeclaration)',
95 'MethodDefinition:not([accessibility=/(private|protected)/]) > FunctionExpression',
97 'TSInterfaceDeclaration',
99 // 'TSPropertySignature',
100 'TSTypeAliasDeclaration'
104 'jsdoc/require-param-type': 'off',
105 'jsdoc/require-returns-type': 'off'
110 extends: 'plugin:node/recommended',
112 '@typescript-eslint/no-unused-vars': 'off',
113 '@typescript-eslint/no-var-requires': 'off'
117 files
: ['examples/typescript/**/*.ts'],
119 'import/no-unresolved': 'off'
123 files
: ['examples/**/*.js'],
125 'node/no-missing-require': 'off'