Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch survey_validator to dart_flutter_team_lints #109

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 1 addition & 30 deletions surveys/survey-validator/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1 @@
# This file configures the static analysis results for your project (errors,
# warnings, and lints).
#
# This enables the 'recommended' set of lints from `package:lints`.
# This set helps identify many issues that may lead to problems when running
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
# style and format.
#
# If you want a smaller set of lints you can change this to specify
# 'package:lints/core.yaml'. These are just the most critical lints
# (the recommended set includes the core lints).
# The core lints are also what is used by pub.dev for scoring packages.

include: package:lints/recommended.yaml

# Uncomment the following section to specify additional rules.

# linter:
# rules:
# - camel_case_types

# analyzer:
# exclude:
# - path/to/excluded/files/**

# For more information about the core and recommended set of lints, see
# https://dart.dev/go/core-lints

# For additional information about configuring this file, see
# https://dart.dev/guides/language/analysis-options
include: package:dart_flutter_team_lints/analysis_options.yaml
16 changes: 12 additions & 4 deletions surveys/survey-validator/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.0.3"
dart_flutter_team_lints:
dependency: "direct dev"
description:
name: dart_flutter_team_lints
sha256: "66517b1f6a53e3275938eece5fe0df6960d1e86a82bad074d7364a9a5c97ae10"
url: "https://pub.dev"
source: hosted
version: "2.0.0"
file:
dependency: transitive
description:
Expand Down Expand Up @@ -154,7 +162,7 @@ packages:
source: hosted
version: "0.6.7"
lints:
dependency: "direct dev"
dependency: transitive
description:
name: lints
sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
Expand Down Expand Up @@ -357,10 +365,10 @@ packages:
dependency: "direct main"
description:
name: unified_analytics
sha256: "4d22115b83778592e606508072454209fbf8aa31e061ace8dd36f6bf3ba9e4b8"
sha256: "5394c375511a841fc53617bbbf947509cd939bb4275ad3ad0e378fc2e62c0c11"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "4.0.0"
vm_service:
dependency: transitive
description:
Expand Down Expand Up @@ -402,4 +410,4 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.0.0 <4.0.0"
dart: ">=3.1.0 <4.0.0"
6 changes: 3 additions & 3 deletions surveys/survey-validator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ version: 1.0.0
publish_to: none

environment:
sdk: '>=3.0.0 <4.0.0'
sdk: ^3.1.0

# Add regular dependencies here.
dependencies:
unified_analytics: ^3.0.0
unified_analytics: ^4.0.0

dev_dependencies:
lints: ^2.1.0
dart_flutter_team_lints: ^2.0.0
test: ^1.24.0