1 | // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
2 | // See LICENSE in the project root for license information.
|
3 |
|
4 | // This mixin validates code comments to ensure that they follow the TSDoc standard. For more
|
5 | // information please see the README.md for @rushstack/eslint-config.
|
6 | module.exports = {
|
7 | // The plugin documentation is here: https://www.npmjs.com/package/eslint-plugin-tsdoc
|
8 | plugins: ['eslint-plugin-tsdoc'],
|
9 |
|
10 | overrides: [
|
11 | {
|
12 | // Declare an override that applies to TypeScript files only
|
13 | files: ['*.ts', '*.tsx'],
|
14 |
|
15 | rules: {
|
16 | 'tsdoc/syntax': 'warn'
|
17 | }
|
18 | }
|
19 | ]
|
20 | };
|