7 parser
: '@typescript-eslint/parser',
11 warnOnUnsupportedTypeScriptVersion
: false
23 'plugin:@typescript-eslint/recommended',
24 'plugin:import/errors',
25 'plugin:import/warnings',
26 'plugin:import/typescript',
27 'plugin:promise/recommended',
28 'plugin:prettierx/standardx',
29 'plugin:prettierx/@typescript-eslint'
34 // We have some intentionally empty functions
35 '@typescript-eslint/no-empty-function': 'off',
37 '@typescript-eslint/no-inferrable-types': [
39 { ignoreProperties
: true }
45 ignoreMemberSort
: true,
46 ignoreDeclarationSort
: true
50 'spellcheck/spell-checker': [
66 skipIfMatch
: ['^@.*', '^plugin:.*']
72 files
: ['src/**/*.ts'],
73 extends: 'plugin:jsdoc/recommended',
75 'no-useless-constructor': 'off',
77 'jsdoc/match-description': [
81 '/^[A-Z`].+?(\\.|:)(\\n\\n.*((\\n{1,2}- .+)|(_.+_)|`.+`|\\n\\n---))?$/us',
82 matchDescription
: '^[A-Z`].+(\\.|`.+`)$',
90 'jsdoc/no-types': 'error',
91 'jsdoc/require-jsdoc': [
96 'ClassProperty:not([accessibility=/(private|protected)/])',
97 'ExportNamedDeclaration:has(VariableDeclaration)',
99 'MethodDefinition:not([accessibility=/(private|protected)/]) > FunctionExpression',
101 'TSInterfaceDeclaration',
103 // 'TSPropertySignature',
104 'TSTypeAliasDeclaration'
108 'jsdoc/require-param-type': 'off',
109 'jsdoc/require-returns-type': 'off'
114 extends: 'plugin:node/recommended',
116 '@typescript-eslint/no-unused-vars': 'off',
117 '@typescript-eslint/no-var-requires': 'off'
121 files
: ['examples/typescript/**/*.ts'],
123 'import/no-unresolved': 'off'
127 files
: ['examples/**/*.js'],
129 'node/no-missing-require': 'off'