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': [
67 skipIfMatch
: ['^@.*', '^plugin:.*']
73 files
: ['src/**/*.ts'],
74 extends: 'plugin:jsdoc/recommended',
76 'no-useless-constructor': 'off',
78 'jsdoc/match-description': [
82 '/^[A-Z`].+?(\\.|:)(\\n\\n.*((\\n{1,2}- .+)|(_.+_)|`.+`|\\n\\n---))?$/us',
83 matchDescription
: '^[A-Z`].+(\\.|`.+`)$',
91 'jsdoc/no-types': 'error',
92 'jsdoc/require-jsdoc': [
97 'ClassProperty:not([accessibility=/(private|protected)/])',
98 'ExportNamedDeclaration:has(VariableDeclaration)',
100 'MethodDefinition:not([accessibility=/(private|protected)/]) > FunctionExpression',
102 'TSInterfaceDeclaration',
104 // 'TSPropertySignature',
105 'TSTypeAliasDeclaration'
109 'jsdoc/require-param-type': 'off',
110 'jsdoc/require-returns-type': 'off'
115 extends: 'plugin:node/recommended',
117 '@typescript-eslint/no-unused-vars': 'off',
118 '@typescript-eslint/no-var-requires': 'off'
122 files
: ['examples/typescript/**/*.ts'],
124 'import/no-unresolved': 'off'
128 files
: ['examples/**/*.js'],
130 'node/no-missing-require': 'off'