diff --git a/.automation/test/dart/dart_bad_1.dart b/.automation/test/dart/dart_bad_1.dart index 55ef95a4..c8e4746e 100644 --- a/.automation/test/dart/dart_bad_1.dart +++ b/.automation/test/dart/dart_bad_1.dart @@ -1,5 +1,4 @@ // empty_constructor_bodies bad {} - class Point { int x, y; Point(this.x, this.y) {} diff --git a/.automation/test/dart/dart_good_1.dart b/.automation/test/dart/dart_good_1.dart index d336bbef..ba9c09c5 100644 --- a/.automation/test/dart/dart_good_1.dart +++ b/.automation/test/dart/dart_good_1.dart @@ -1,5 +1,4 @@ // empty_constructor_bodies good ; - class Point { int x, y; Point(this.x, this.y); diff --git a/Dockerfile b/Dockerfile index 6e8f6322..f4f2d806 100644 --- a/Dockerfile +++ b/Dockerfile @@ -190,7 +190,7 @@ RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/s RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk RUN apk add glibc-${GLIBC_VERSION}.apk -# install dart sdk +# stable dart sdk: https://dart.dev/get-dart#release-channels ARG DART_VERSION='2.8.4' RUN wget https://storage.googleapis.com/dart-archive/channels/stable/release/${DART_VERSION}/sdk/dartsdk-linux-x64-release.zip -O - -q | unzip - \ && chmod +x dart-sdk/bin/dart* \ diff --git a/README.md b/README.md index 5875572e..d6c14050 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Developers on **GitHub** can call the **GitHub Action** to lint their code base | **CSS** | [stylelint](https://stylelint.io/) | | **Clojure** | [clj-kondo](https://github.com/borkdude/clj-kondo) | | **CoffeeScript** | [coffeelint](https://coffeelint.github.io/) | -| **Dart** | [dartanalyzer](https://dart.dev/tools/dartanalyzer) | +| **Dart** | [dartanalyzer](https://dart.dev/guides/language/analysis-options) | | **Dockerfile** | [dockerfilelint](https://github.com/replicatedhq/dockerfilelint.git) | | **EDITORCONFIG** | [editorconfig-checker](https://github.com/editorconfig-checker/editorconfig-checker) | | **ENV** | [dotenv-linter](https://github.com/dotenv-linter/dotenv-linter) |