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': [
65 skipIfMatch
: ['^@.*', '^plugin:.*']
71 files
: ['src/**/*.ts'],
72 extends: 'plugin:jsdoc/recommended',
74 'no-useless-constructor': 'off',
76 'jsdoc/match-description': [
80 '/^[A-Z`].+?(\\.|:)(\\n\\n.*((\\n{1,2}- .+)|(_.+_)|`.+`|\\n\\n---))?$/us',
81 matchDescription
: '^[A-Z`].+(\\.|`.+`)$',
89 'jsdoc/no-types': 'error',
90 'jsdoc/require-jsdoc': [
95 'ClassProperty:not([accessibility=/(private|protected)/])',
96 'ExportNamedDeclaration:has(VariableDeclaration)',
98 'MethodDefinition:not([accessibility=/(private|protected)/]) > FunctionExpression',
100 'TSInterfaceDeclaration',
102 // 'TSPropertySignature',
103 'TSTypeAliasDeclaration'
107 'jsdoc/require-param-type': 'off',
108 'jsdoc/require-returns-type': 'off'
113 extends: 'plugin:node/recommended',
115 '@typescript-eslint/no-unused-vars': 'off',
116 '@typescript-eslint/no-var-requires': 'off'
120 files
: ['examples/typescript/**/*.ts'],
122 'import/no-unresolved': 'off'
126 files
: ['examples/**/*.js'],
128 'node/no-missing-require': 'off'