UNPKG

@microsoft/eslint-plugin-sdl

Version:

ESLint plugin focused on common security issues and misconfigurations discoverable during static testing as part of Microsoft Security Development Lifecycle (SDL)

28 lines (24 loc) 456 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. "use strict"; const pluginN = require("eslint-plugin-n"); module.exports = (pluginSdl) => { return [ { plugins: { n: pluginN }, rules: { "n/no-deprecated-api": "error" } }, { plugins: { "@microsoft/sdl": pluginSdl }, rules: { "@microsoft/sdl/no-unsafe-alloc": "error" } } ]; };