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 implements the "packlet" formalism for organizing source files.
|
5 | // For more information, see the documentation here:
|
6 | // https://www.npmjs.com/package/@rushstack/eslint-plugin-packlets
|
7 | module.exports = {
|
8 | plugins: ['@rushstack/eslint-plugin-packlets'],
|
9 |
|
10 | overrides: [
|
11 | {
|
12 | // Declare an override that applies to TypeScript files only
|
13 | files: ['*.ts', '*.tsx'],
|
14 |
|
15 | rules: {
|
16 | '@rushstack/packlets/mechanics': 'warn',
|
17 | '@rushstack/packlets/circular-deps': 'warn'
|
18 | }
|
19 | }
|
20 | ]
|
21 | };
|