UNPKG

530 BJavaScriptView Raw
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 web application. It enables security rules
5// that are relevant to web browser APIs such as DOM.
6//
7// Also use this profile if you are creating a library that can be consumed by both Node.js
8// and web applications.
9
10const { buildRules } = require('./_common');
11
12const rules = buildRules('web-app');
13module.exports = rules;