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 profile enables lint rules intended for a general Node.js project, typically a web service.
|
5 | // It enables security rules that assume the service could receive malicious inputs from an
|
6 | // untrusted user. If that is not the case, consider using the "node-trusted-tool" profile instead.
|
7 |
|
8 | const { buildRules } = require('./_common');
|
9 |
|
10 | const rules = buildRules('node');
|
11 | module.exports = rules;
|