From a1f2d72483f13f2ea792f565fe6cce2680149563 Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis Date: Wed, 16 Aug 2023 15:50:55 +0200 Subject: [PATCH] chore(app,dynamite,dynamite_runtime,file_icons,neon,neon_files,neon_news,neon_notes,neon_notifications,neon_lints,nextcloud,sort_box): use custom neon_lints package Signed-off-by: Nikolas Rimikis --- packages/app/analysis_options.yaml | 2 +- packages/app/pubspec.lock | 16 +++++++--------- packages/app/pubspec.yaml | 6 +++--- packages/app/pubspec_overrides.yaml | 4 +++- packages/dynamite/dynamite/analysis_options.yaml | 2 +- packages/dynamite/dynamite/pubspec.yaml | 6 +++--- .../dynamite/dynamite/pubspec_overrides.yaml | 4 ++++ .../dynamite_runtime/analysis_options.yaml | 2 +- packages/dynamite/dynamite_runtime/pubspec.yaml | 6 +++--- .../dynamite_runtime/pubspec_overrides.yaml | 4 ++++ packages/file_icons/analysis_options.yaml | 2 +- packages/file_icons/pubspec.yaml | 6 +++--- packages/file_icons/pubspec_overrides.yaml | 4 ++++ packages/neon/neon/analysis_options.yaml | 2 +- packages/neon/neon/pubspec.yaml | 6 +++--- packages/neon/neon/pubspec_overrides.yaml | 4 +++- packages/neon/neon_files/analysis_options.yaml | 2 +- packages/neon/neon_files/pubspec.yaml | 6 +++--- packages/neon/neon_files/pubspec_overrides.yaml | 4 +++- packages/neon/neon_news/analysis_options.yaml | 2 +- packages/neon/neon_news/pubspec.yaml | 6 +++--- packages/neon/neon_news/pubspec_overrides.yaml | 4 +++- packages/neon/neon_notes/analysis_options.yaml | 2 +- packages/neon/neon_notes/pubspec.yaml | 6 +++--- packages/neon/neon_notes/pubspec_overrides.yaml | 4 +++- .../neon_notifications/analysis_options.yaml | 2 +- packages/neon/neon_notifications/pubspec.yaml | 6 +++--- .../neon_notifications/pubspec_overrides.yaml | 4 +++- packages/nextcloud/analysis_options.yaml | 2 +- packages/nextcloud/pubspec.yaml | 6 +++--- packages/nextcloud/pubspec_overrides.yaml | 4 +++- packages/sort_box/analysis_options.yaml | 2 +- packages/sort_box/pubspec.yaml | 6 +++--- packages/sort_box/pubspec_overrides.yaml | 4 ++++ 34 files changed, 88 insertions(+), 60 deletions(-) create mode 100644 packages/dynamite/dynamite/pubspec_overrides.yaml create mode 100644 packages/dynamite/dynamite_runtime/pubspec_overrides.yaml create mode 100644 packages/file_icons/pubspec_overrides.yaml create mode 100644 packages/sort_box/pubspec_overrides.yaml diff --git a/packages/app/analysis_options.yaml b/packages/app/analysis_options.yaml index c7c10b7d..c3fd4266 100644 --- a/packages/app/analysis_options.yaml +++ b/packages/app/analysis_options.yaml @@ -1 +1 @@ -include: package:nit_picking/flutter.yaml +include: package:neon_lints/flutter.yaml diff --git a/packages/app/pubspec.lock b/packages/app/pubspec.lock index dd04eef6..711b5c4d 100644 --- a/packages/app/pubspec.lock +++ b/packages/app/pubspec.lock @@ -696,6 +696,13 @@ packages: relative: true source: path version: "1.0.0" + neon_lints: + dependency: "direct dev" + description: + path: "../neon_lints" + relative: true + source: path + version: "1.0.0" neon_news: dependency: "direct main" description: @@ -732,15 +739,6 @@ packages: relative: true source: path version: "1.0.0" - nit_picking: - dependency: "direct dev" - description: - path: "." - ref: "0b2ee0d" - resolved-ref: "0b2ee0d6d6871a04aaf85e88cd7e877f654d15e3" - url: "https://github.com/stack11/dart_nit_picking" - source: git - version: "0.0.0" open_file: dependency: transitive description: diff --git a/packages/app/pubspec.yaml b/packages/app/pubspec.yaml index b0bce89a..9cd5b2b7 100644 --- a/packages/app/pubspec.yaml +++ b/packages/app/pubspec.yaml @@ -39,10 +39,10 @@ dev_dependencies: integration_test: sdk: flutter material_design_icons_flutter: ^7.0.7296 - nit_picking: + neon_lints: git: - url: https://github.com/stack11/dart_nit_picking - ref: 0b2ee0d + url: https://github.com/nextcloud/neon + path: packages/neon_lints flutter: uses-material-design: true diff --git a/packages/app/pubspec_overrides.yaml b/packages/app/pubspec_overrides.yaml index 42527add..7bd861e4 100644 --- a/packages/app/pubspec_overrides.yaml +++ b/packages/app/pubspec_overrides.yaml @@ -1,4 +1,4 @@ -# melos_managed_dependency_overrides: dynamite_runtime,file_icons,neon,neon_files,neon_news,neon_notes,neon_notifications,nextcloud,sort_box +# melos_managed_dependency_overrides: dynamite_runtime,file_icons,neon,neon_files,neon_news,neon_notes,neon_notifications,nextcloud,sort_box,neon_lints dependency_overrides: dynamite_runtime: path: ../dynamite/dynamite_runtime @@ -8,6 +8,8 @@ dependency_overrides: path: ../neon/neon neon_files: path: ../neon/neon_files + neon_lints: + path: ../neon_lints neon_news: path: ../neon/neon_news neon_notes: diff --git a/packages/dynamite/dynamite/analysis_options.yaml b/packages/dynamite/dynamite/analysis_options.yaml index 6549e762..80216cb3 100644 --- a/packages/dynamite/dynamite/analysis_options.yaml +++ b/packages/dynamite/dynamite/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:nit_picking/dart.yaml +include: package:neon_lints/dart.yaml linter: rules: diff --git a/packages/dynamite/dynamite/pubspec.yaml b/packages/dynamite/dynamite/pubspec.yaml index 36cd1277..aecf4d09 100644 --- a/packages/dynamite/dynamite/pubspec.yaml +++ b/packages/dynamite/dynamite/pubspec.yaml @@ -20,8 +20,8 @@ dev_dependencies: built_collection: ^5.1.1 built_value_generator: ^8.5.0 json_serializable: ^6.6.2 - nit_picking: + neon_lints: git: - url: https://github.com/stack11/dart_nit_picking - ref: 0b2ee0d + url: https://github.com/nextcloud/neon + path: packages/neon_lints test: ^1.24.2 diff --git a/packages/dynamite/dynamite/pubspec_overrides.yaml b/packages/dynamite/dynamite/pubspec_overrides.yaml new file mode 100644 index 00000000..acded63f --- /dev/null +++ b/packages/dynamite/dynamite/pubspec_overrides.yaml @@ -0,0 +1,4 @@ +# melos_managed_dependency_overrides: neon_lints +dependency_overrides: + neon_lints: + path: ../../neon_lints diff --git a/packages/dynamite/dynamite_runtime/analysis_options.yaml b/packages/dynamite/dynamite_runtime/analysis_options.yaml index 6549e762..80216cb3 100644 --- a/packages/dynamite/dynamite_runtime/analysis_options.yaml +++ b/packages/dynamite/dynamite_runtime/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:nit_picking/dart.yaml +include: package:neon_lints/dart.yaml linter: rules: diff --git a/packages/dynamite/dynamite_runtime/pubspec.yaml b/packages/dynamite/dynamite_runtime/pubspec.yaml index addb6b13..0cfa49ff 100644 --- a/packages/dynamite/dynamite_runtime/pubspec.yaml +++ b/packages/dynamite/dynamite_runtime/pubspec.yaml @@ -14,8 +14,8 @@ dev_dependencies: build_runner: ^2.4.2 built_collection: ^5.1.1 built_value_generator: ^8.5.0 - nit_picking: + neon_lints: git: - url: https://github.com/stack11/dart_nit_picking - ref: 0b2ee0d + url: https://github.com/nextcloud/neon + path: packages/neon_lints test: ^1.24.2 diff --git a/packages/dynamite/dynamite_runtime/pubspec_overrides.yaml b/packages/dynamite/dynamite_runtime/pubspec_overrides.yaml new file mode 100644 index 00000000..acded63f --- /dev/null +++ b/packages/dynamite/dynamite_runtime/pubspec_overrides.yaml @@ -0,0 +1,4 @@ +# melos_managed_dependency_overrides: neon_lints +dependency_overrides: + neon_lints: + path: ../../neon_lints diff --git a/packages/file_icons/analysis_options.yaml b/packages/file_icons/analysis_options.yaml index 0ed2fb9f..4db3c296 100644 --- a/packages/file_icons/analysis_options.yaml +++ b/packages/file_icons/analysis_options.yaml @@ -1 +1 @@ -include: package:nit_picking/dart.yaml +include: package:neon_lints/dart.yaml diff --git a/packages/file_icons/pubspec.yaml b/packages/file_icons/pubspec.yaml index 955993f4..42225e35 100644 --- a/packages/file_icons/pubspec.yaml +++ b/packages/file_icons/pubspec.yaml @@ -11,10 +11,10 @@ dependencies: path: ^1.8.3 dev_dependencies: - nit_picking: + neon_lints: git: - url: https://github.com/stack11/dart_nit_picking - ref: 0b2ee0d + url: https://github.com/nextcloud/neon + path: packages/neon_lints flutter: fonts: diff --git a/packages/file_icons/pubspec_overrides.yaml b/packages/file_icons/pubspec_overrides.yaml new file mode 100644 index 00000000..4abc9fdc --- /dev/null +++ b/packages/file_icons/pubspec_overrides.yaml @@ -0,0 +1,4 @@ +# melos_managed_dependency_overrides: neon_lints +dependency_overrides: + neon_lints: + path: ../neon_lints diff --git a/packages/neon/neon/analysis_options.yaml b/packages/neon/neon/analysis_options.yaml index b5cc8bc5..66de1efd 100644 --- a/packages/neon/neon/analysis_options.yaml +++ b/packages/neon/neon/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:nit_picking/flutter.yaml +include: package:neon_lints/flutter.yaml analyzer: exclude: diff --git a/packages/neon/neon/pubspec.yaml b/packages/neon/neon/pubspec.yaml index eac2e288..48a7d067 100644 --- a/packages/neon/neon/pubspec.yaml +++ b/packages/neon/neon/pubspec.yaml @@ -61,10 +61,10 @@ dev_dependencies: go_router_builder: ^2.2.1 json_serializable: ^6.6.2 mocktail: ^1.0.0 - nit_picking: + neon_lints: git: - url: https://github.com/stack11/dart_nit_picking - ref: 0b2ee0d + url: https://github.com/nextcloud/neon + path: packages/neon_lints test: ^1.24.3 flutter: diff --git a/packages/neon/neon/pubspec_overrides.yaml b/packages/neon/neon/pubspec_overrides.yaml index 2e927e31..3ea13b42 100644 --- a/packages/neon/neon/pubspec_overrides.yaml +++ b/packages/neon/neon/pubspec_overrides.yaml @@ -1,7 +1,9 @@ -# melos_managed_dependency_overrides: dynamite_runtime,nextcloud,sort_box +# melos_managed_dependency_overrides: dynamite_runtime,nextcloud,sort_box,neon_lints dependency_overrides: dynamite_runtime: path: ../../dynamite/dynamite_runtime + neon_lints: + path: ../../neon_lints nextcloud: path: ../../nextcloud sort_box: diff --git a/packages/neon/neon_files/analysis_options.yaml b/packages/neon/neon_files/analysis_options.yaml index b5cc8bc5..66de1efd 100644 --- a/packages/neon/neon_files/analysis_options.yaml +++ b/packages/neon/neon_files/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:nit_picking/flutter.yaml +include: package:neon_lints/flutter.yaml analyzer: exclude: diff --git a/packages/neon/neon_files/pubspec.yaml b/packages/neon/neon_files/pubspec.yaml index 19ecb35f..5df598f7 100644 --- a/packages/neon/neon_files/pubspec.yaml +++ b/packages/neon/neon_files/pubspec.yaml @@ -34,10 +34,10 @@ dependencies: dev_dependencies: build_runner: ^2.4.4 go_router_builder: ^2.2.1 - nit_picking: + neon_lints: git: - url: https://github.com/stack11/dart_nit_picking - ref: 0b2ee0d + url: https://github.com/nextcloud/neon + path: packages/neon_lints flutter: uses-material-design: true diff --git a/packages/neon/neon_files/pubspec_overrides.yaml b/packages/neon/neon_files/pubspec_overrides.yaml index 478e62f5..84933267 100644 --- a/packages/neon/neon_files/pubspec_overrides.yaml +++ b/packages/neon/neon_files/pubspec_overrides.yaml @@ -1,4 +1,4 @@ -# melos_managed_dependency_overrides: dynamite_runtime,file_icons,neon,nextcloud,sort_box +# melos_managed_dependency_overrides: dynamite_runtime,file_icons,neon,nextcloud,sort_box,neon_lints dependency_overrides: dynamite_runtime: path: ../../dynamite/dynamite_runtime @@ -6,6 +6,8 @@ dependency_overrides: path: ../../file_icons neon: path: ../neon + neon_lints: + path: ../../neon_lints nextcloud: path: ../../nextcloud sort_box: diff --git a/packages/neon/neon_news/analysis_options.yaml b/packages/neon/neon_news/analysis_options.yaml index b5cc8bc5..66de1efd 100644 --- a/packages/neon/neon_news/analysis_options.yaml +++ b/packages/neon/neon_news/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:nit_picking/flutter.yaml +include: package:neon_lints/flutter.yaml analyzer: exclude: diff --git a/packages/neon/neon_news/pubspec.yaml b/packages/neon/neon_news/pubspec.yaml index 77d2cf28..78333b1d 100644 --- a/packages/neon/neon_news/pubspec.yaml +++ b/packages/neon/neon_news/pubspec.yaml @@ -27,10 +27,10 @@ dependencies: dev_dependencies: build_runner: ^2.4.4 go_router_builder: ^2.2.1 - nit_picking: + neon_lints: git: - url: https://github.com/stack11/dart_nit_picking - ref: 0b2ee0d + url: https://github.com/nextcloud/neon + path: packages/neon_lints flutter: uses-material-design: true diff --git a/packages/neon/neon_news/pubspec_overrides.yaml b/packages/neon/neon_news/pubspec_overrides.yaml index bc921fe9..3bec69c6 100644 --- a/packages/neon/neon_news/pubspec_overrides.yaml +++ b/packages/neon/neon_news/pubspec_overrides.yaml @@ -1,9 +1,11 @@ -# melos_managed_dependency_overrides: dynamite_runtime,neon,nextcloud,sort_box +# melos_managed_dependency_overrides: dynamite_runtime,neon,nextcloud,sort_box,neon_lints dependency_overrides: dynamite_runtime: path: ../../dynamite/dynamite_runtime neon: path: ../neon + neon_lints: + path: ../../neon_lints nextcloud: path: ../../nextcloud sort_box: diff --git a/packages/neon/neon_notes/analysis_options.yaml b/packages/neon/neon_notes/analysis_options.yaml index b5cc8bc5..66de1efd 100644 --- a/packages/neon/neon_notes/analysis_options.yaml +++ b/packages/neon/neon_notes/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:nit_picking/flutter.yaml +include: package:neon_lints/flutter.yaml analyzer: exclude: diff --git a/packages/neon/neon_notes/pubspec.yaml b/packages/neon/neon_notes/pubspec.yaml index 3e51d18b..7e6c7d9b 100644 --- a/packages/neon/neon_notes/pubspec.yaml +++ b/packages/neon/neon_notes/pubspec.yaml @@ -27,10 +27,10 @@ dependencies: dev_dependencies: build_runner: ^2.4.4 go_router_builder: ^2.2.1 - nit_picking: + neon_lints: git: - url: https://github.com/stack11/dart_nit_picking - ref: 0b2ee0d + url: https://github.com/nextcloud/neon + path: packages/neon_lints flutter: uses-material-design: true diff --git a/packages/neon/neon_notes/pubspec_overrides.yaml b/packages/neon/neon_notes/pubspec_overrides.yaml index bc921fe9..3bec69c6 100644 --- a/packages/neon/neon_notes/pubspec_overrides.yaml +++ b/packages/neon/neon_notes/pubspec_overrides.yaml @@ -1,9 +1,11 @@ -# melos_managed_dependency_overrides: dynamite_runtime,neon,nextcloud,sort_box +# melos_managed_dependency_overrides: dynamite_runtime,neon,nextcloud,sort_box,neon_lints dependency_overrides: dynamite_runtime: path: ../../dynamite/dynamite_runtime neon: path: ../neon + neon_lints: + path: ../../neon_lints nextcloud: path: ../../nextcloud sort_box: diff --git a/packages/neon/neon_notifications/analysis_options.yaml b/packages/neon/neon_notifications/analysis_options.yaml index b5cc8bc5..66de1efd 100644 --- a/packages/neon/neon_notifications/analysis_options.yaml +++ b/packages/neon/neon_notifications/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:nit_picking/flutter.yaml +include: package:neon_lints/flutter.yaml analyzer: exclude: diff --git a/packages/neon/neon_notifications/pubspec.yaml b/packages/neon/neon_notifications/pubspec.yaml index 4d5a3727..89040b64 100644 --- a/packages/neon/neon_notifications/pubspec.yaml +++ b/packages/neon/neon_notifications/pubspec.yaml @@ -21,10 +21,10 @@ dependencies: dev_dependencies: build_runner: ^2.4.4 go_router_builder: ^2.2.1 - nit_picking: + neon_lints: git: - url: https://github.com/stack11/dart_nit_picking - ref: 0b2ee0d + url: https://github.com/nextcloud/neon + path: packages/neon_lints flutter: uses-material-design: true diff --git a/packages/neon/neon_notifications/pubspec_overrides.yaml b/packages/neon/neon_notifications/pubspec_overrides.yaml index bc921fe9..3bec69c6 100644 --- a/packages/neon/neon_notifications/pubspec_overrides.yaml +++ b/packages/neon/neon_notifications/pubspec_overrides.yaml @@ -1,9 +1,11 @@ -# melos_managed_dependency_overrides: dynamite_runtime,neon,nextcloud,sort_box +# melos_managed_dependency_overrides: dynamite_runtime,neon,nextcloud,sort_box,neon_lints dependency_overrides: dynamite_runtime: path: ../../dynamite/dynamite_runtime neon: path: ../neon + neon_lints: + path: ../../neon_lints nextcloud: path: ../../nextcloud sort_box: diff --git a/packages/nextcloud/analysis_options.yaml b/packages/nextcloud/analysis_options.yaml index 0ed2fb9f..4db3c296 100644 --- a/packages/nextcloud/analysis_options.yaml +++ b/packages/nextcloud/analysis_options.yaml @@ -1 +1 @@ -include: package:nit_picking/dart.yaml +include: package:neon_lints/dart.yaml diff --git a/packages/nextcloud/pubspec.yaml b/packages/nextcloud/pubspec.yaml index d145c0f1..cab07fe6 100644 --- a/packages/nextcloud/pubspec.yaml +++ b/packages/nextcloud/pubspec.yaml @@ -30,10 +30,10 @@ dev_dependencies: url: https://github.com/nextcloud/neon path: packages/dynamite/dynamite json_serializable: ^6.6.2 - nit_picking: + neon_lints: git: - url: https://github.com/stack11/dart_nit_picking - ref: 0b2ee0d + url: https://github.com/nextcloud/neon + path: packages/neon_lints process_run: ^0.13.0 test: ^1.24.2 xml_serializable: ^2.2.2 diff --git a/packages/nextcloud/pubspec_overrides.yaml b/packages/nextcloud/pubspec_overrides.yaml index fc25dc64..b3ed199c 100644 --- a/packages/nextcloud/pubspec_overrides.yaml +++ b/packages/nextcloud/pubspec_overrides.yaml @@ -1,6 +1,8 @@ -# melos_managed_dependency_overrides: dynamite,dynamite_runtime +# melos_managed_dependency_overrides: dynamite,dynamite_runtime,neon_lints dependency_overrides: dynamite: path: ../dynamite/dynamite dynamite_runtime: path: ../dynamite/dynamite_runtime + neon_lints: + path: ../neon_lints diff --git a/packages/sort_box/analysis_options.yaml b/packages/sort_box/analysis_options.yaml index 0ed2fb9f..4db3c296 100644 --- a/packages/sort_box/analysis_options.yaml +++ b/packages/sort_box/analysis_options.yaml @@ -1 +1 @@ -include: package:nit_picking/dart.yaml +include: package:neon_lints/dart.yaml diff --git a/packages/sort_box/pubspec.yaml b/packages/sort_box/pubspec.yaml index 8821da81..0d82372c 100644 --- a/packages/sort_box/pubspec.yaml +++ b/packages/sort_box/pubspec.yaml @@ -5,8 +5,8 @@ environment: sdk: '>=3.0.0 <4.0.0' dev_dependencies: - nit_picking: + neon_lints: git: - url: https://github.com/stack11/dart_nit_picking - ref: 0b2ee0d + url: https://github.com/nextcloud/neon + path: packages/neon_lints test: ^1.24.2 diff --git a/packages/sort_box/pubspec_overrides.yaml b/packages/sort_box/pubspec_overrides.yaml new file mode 100644 index 00000000..4abc9fdc --- /dev/null +++ b/packages/sort_box/pubspec_overrides.yaml @@ -0,0 +1,4 @@ +# melos_managed_dependency_overrides: neon_lints +dependency_overrides: + neon_lints: + path: ../neon_lints