Skip to content

Commit 97847dc

Browse files
authored
feat: Introduce the ubuntu_lints package (#336)
* feat: Introduce the ubuntu_lints package * chore: Add pubspec.lock files to the .gitignore * feat: Added a few more useful linting rules * fix: gitignore pubspec_overrides.yaml * fix: Add initial changelog
1 parent 6d8bc6f commit 97847dc

File tree

11 files changed

+619
-14
lines changed

11 files changed

+619
-14
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ coverage/
33
*.iml
44
.vscode/
55
.dart_tool/
6-
pubspec_overrides.yaml
6+
**/pubspec.lock
7+
**/pubspec_overrides.yaml

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@
55

66
A collection of Flutter plugins and packages for Ubuntu applications.
77

8-
| Package | Pub | License |
9-
|---|---|---|
10-
| [platform_linux](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/platform_linux) | [![pub](https://img.shields.io/pub/v/platform_linux.svg)](https://pub.dev/packages/platform_linux) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
11-
| [safe_change_notifier](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/safe_change_notifier) | [![pub](https://img.shields.io/pub/v/safe_change_notifier.svg)](https://pub.dev/packages/safe_change_notifier) | [![license: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) |
12-
| [timezone_map](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/timezone_map) | | [![license: GPL3](https://img.shields.io/badge/license-GPL3-blue.svg)](https://opensource.org/licenses/GPL-3.0) |
13-
| [ubuntu_flavor](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_flavor) | [![pub](https://img.shields.io/pub/v/ubuntu_flavor.svg)](https://pub.dev/packages/ubuntu_flavor) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
14-
| [ubuntu_localizations](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_localizations) | [![pub](https://img.shields.io/pub/v/ubuntu_localizations.svg)](https://pub.dev/packages/ubuntu_localizations) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
15-
| [ubuntu_logger](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_logger) | [![pub](https://img.shields.io/pub/v/ubuntu_logger.svg)](https://pub.dev/packages/ubuntu_logger) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
16-
| [ubuntu_service](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_service) | [![pub](https://img.shields.io/pub/v/ubuntu_service.svg)](https://pub.dev/packages/ubuntu_service) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
17-
| [ubuntu_test](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_test) | [![pub](https://img.shields.io/pub/v/ubuntu_test.svg)](https://pub.dev/packages/ubuntu_test) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
18-
| [ubuntu_widgets](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_widgets) | [![pub](https://img.shields.io/pub/v/ubuntu_widgets.svg)](https://pub.dev/packages/ubuntu_widgets) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
19-
| [wizard_router](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/wizard_router) | [![pub](https://img.shields.io/pub/v/wizard_router.svg)](https://pub.dev/packages/wizard_router) | [![license: BSD](https://img.shields.io/badge/license-BSD-yellow.svg)](https://opensource.org/licenses/BSD-3-Clause) |
20-
| [xdg_icons](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/xdg_icons) | [![pub](https://img.shields.io/pub/v/xdg_icons.svg)](https://pub.dev/packages/xdg_icons) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
8+
| Package | Pub | License |
9+
|---------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|
10+
| [platform_linux](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/platform_linux) | [![pub](https://img.shields.io/pub/v/platform_linux.svg)](https://pub.dev/packages/platform_linux) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
11+
| [safe_change_notifier](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/safe_change_notifier) | [![pub](https://img.shields.io/pub/v/safe_change_notifier.svg)](https://pub.dev/packages/safe_change_notifier) | [![license: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) |
12+
| [timezone_map](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/timezone_map) | | [![license: GPL3](https://img.shields.io/badge/license-GPL3-blue.svg)](https://opensource.org/licenses/GPL-3.0) |
13+
| [ubuntu_flavor](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_flavor) | [![pub](https://img.shields.io/pub/v/ubuntu_flavor.svg)](https://pub.dev/packages/ubuntu_flavor) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
14+
| [ubuntu_lints](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_lints) | [![pub](https://img.shields.io/pub/v/ubuntu_lints.svg)](https://pub.dev/packages/ubuntu_lints) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
15+
| [ubuntu_localizations](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_localizations) | [![pub](https://img.shields.io/pub/v/ubuntu_localizations.svg)](https://pub.dev/packages/ubuntu_localizations) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
16+
| [ubuntu_logger](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_logger) | [![pub](https://img.shields.io/pub/v/ubuntu_logger.svg)](https://pub.dev/packages/ubuntu_logger) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
17+
| [ubuntu_service](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_service) | [![pub](https://img.shields.io/pub/v/ubuntu_service.svg)](https://pub.dev/packages/ubuntu_service) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
18+
| [ubuntu_test](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_test) | [![pub](https://img.shields.io/pub/v/ubuntu_test.svg)](https://pub.dev/packages/ubuntu_test) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
19+
| [ubuntu_widgets](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/ubuntu_widgets) | [![pub](https://img.shields.io/pub/v/ubuntu_widgets.svg)](https://pub.dev/packages/ubuntu_widgets) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
20+
| [wizard_router](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/wizard_router) | [![pub](https://img.shields.io/pub/v/wizard_router.svg)](https://pub.dev/packages/wizard_router) | [![license: BSD](https://img.shields.io/badge/license-BSD-yellow.svg)](https://opensource.org/licenses/BSD-3-Clause) |
21+
| [xdg_icons](https://github.com/canonical/ubuntu-flutter-plugins/tree/main/packages/xdg_icons) | [![pub](https://img.shields.io/pub/v/xdg_icons.svg)](https://pub.dev/packages/xdg_icons) | [![license: MPL](https://img.shields.io/badge/license-MPL-magenta.svg)](https://opensource.org/licenses/MPL-2.0) |
2122

2223
## Contributing
2324

packages/ubuntu_lints/.metadata

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: ffb2ecea5223acdd139a5039be2f9c796962833d
8+
channel: stable
9+
10+
project_type: package

packages/ubuntu_lints/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
## 0.1.0
4+
5+
* Initial release.

0 commit comments

Comments
 (0)