Skip to content

Commit

Permalink
Merge pull request #433 from nextcloud/typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Jan 11, 2023
2 parents 35ce7b3 + 21692eb commit 4d3df23
Show file tree
Hide file tree
Showing 3 changed files with 829 additions and 6 deletions.
35 changes: 35 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,39 @@ module.exports = {
ignorePackages: true,
}],
},
overrides: [
{
files: ['**/*.ts'],
extends: [
'@vue/eslint-config-typescript/recommended',
'plugin:import/typescript',
],
parserOptions: {
parser: '@typescript-eslint/parser',
},
rules: {
'n/no-missing-import': 'off',
'import/extensions': 'off',
'jsdoc/check-tag-names': [
'warn', {
// for projects using typedoc
definedTags: [
'notExported',
'packageDocumentation',
],
},
],
// Does not make sense with TypeScript
'jsdoc/require-param-type': 'off',
},
settings: {
'import/resolver': {
node: {
paths: ['src'],
extensions: ['.js', '.ts', '.vue'],
},
},
},
},
],
}
Loading

0 comments on commit 4d3df23

Please sign in to comment.