diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml deleted file mode 100644 index ae5ac44a..00000000 --- a/.github/workflows/build-docs.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: "Build documentation" -on: - pull_request: - branches: - - gh-pages-source -jobs: - test-docs: - permissions: - id-token: write - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 18 - - name: Install dependencies - run: npm install - - name: Build docs - run: npm run build \ No newline at end of file diff --git a/.github/workflows/release-docs.yaml b/.github/workflows/release-docs.yaml deleted file mode 100644 index 14e55f32..00000000 --- a/.github/workflows/release-docs.yaml +++ /dev/null @@ -1,44 +0,0 @@ -name: Deploy Documentation - -on: - push: - branches: - - gh-pages-source -jobs: - build: - name: Build Docusaurus - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: actions/setup-node@v4 - with: - node-version: 18 - - - name: Install dependencies - run: npm install - - name: Build website - run: npm run build - - - name: Upload Build Artifact - uses: actions/upload-pages-artifact@v3 - with: - path: build - - deploy: - name: Deploy to GitHub Pages - needs: build - - permissions: - pages: write - id-token: write - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - runs-on: ubuntu-latest - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d7ce04e4..50bd1033 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ # Changelog +## 1.2.0 +- Add fix command +- Add prefer single quotes rule +- Add prefer first or null rule +- Add no blank line before single return rule +- Fix rule avoid dynamic to extensions definition ## 1.1.5 - Removed deprecated fields in analysis options and collection method - Fix changelog URL for update available warning diff --git a/lib/src/version.dart b/lib/src/version.dart index 0982623d..98d9b4d5 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1 +1 @@ -const packageVersion = '1.1.5'; +const packageVersion = '1.2.0'; diff --git a/pubspec.yaml b/pubspec.yaml index 38c5eed3..9cbebb4d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: dart_code_linter -version: 1.1.5 +version: 1.2.0 description: Dart Code Linter is a software analytics tool that helps developers analyse and improve software quality. Dart Code Linter is based on a fork of Dart Code Metrics. repository: https://github.com/bancolombia/dart-code-linter diff --git a/tools/analyzer_plugin/pubspec.yaml b/tools/analyzer_plugin/pubspec.yaml index 9efafc03..313b6adb 100644 --- a/tools/analyzer_plugin/pubspec.yaml +++ b/tools/analyzer_plugin/pubspec.yaml @@ -1,12 +1,12 @@ name: dart_code_linter_plugin_loader description: This pubspec determines the version of the analyzer plugin to load. -version: 1.1.5 +version: 1.2.0 environment: sdk: ">=2.14.0 <3.0.0" dependencies: - dart_code_linter: 1.1.5 + dart_code_linter: 1.2.0 dev_dependencies: lints: ^1.0.1