blob: dfb8958d3935bcd39da4b2d417856c17a7317ba3 [file] [log] [blame] [edit]
// Copyright (c) 2025, 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:analysis_server_plugin/plugin.dart';
import 'package:analysis_server_plugin/registry.dart';
import 'src/rules/avoid_import_outside_src_rule.dart';
final plugin = NativeAnalyzerPlugin();
class NativeAnalyzerPlugin extends Plugin {
@override
void register(PluginRegistry registry) {
registry.registerLintRule(AvoidImportOutsideSrcRule());
}
}