blob: 5c7e46d2321c5fdabbe079c11dd3fb068456a355 [file] [log] [blame]
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:pub_semver/pub_semver.dart';
import '../analyzer.dart';
const _desc = '$_descPrefix.';
const _descPrefix = r'Avoid unsafe HTML APIs';
class UnsafeHtml extends LintRule {
UnsafeHtml()
: super(
name: LintNames.unsafe_html,
description: _desc,
state: State.removed(since: Version(3, 7, 0)));
@override
LintCode get lintCode => LinterLintCode.removed_lint;
}