@rushstack/eslint-config
Version:
A TypeScript ESLint ruleset designed for large teams and projects
22 lines (18 loc) • 634 B
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
// This mixin validates code comments to ensure that they follow the TSDoc standard. For more
// information please see the README.md for @rushstack/eslint-config.
//
// IMPORTANT: Mixins must be included in your ESLint configuration AFTER the profile
const tsdocEslintPlugin = require('eslint-plugin-tsdoc');
module.exports = [
{
files: ['**/*.ts', '**/*.tsx'],
plugins: {
tsdoc: tsdocEslintPlugin
},
rules: {
'tsdoc/syntax': 'warn'
}
}
];