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

feat(SEOAudit): add new SEOAudit plugin #1

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Conversation

alex-ketch
Copy link
Contributor

This PR adds support for the SEOAudit plugin.

Screenshot 2024-07-15 at 03 45 53@2x

Example usage and configuration options can be found in the README

Preflight({
  plugins: [
    SEOAudit({
      // The base URL of the site
      baseUrl: 'https://example.org',
      // Override default rule configuration
      rules: {
        // For full list see: ./validations.tsx
        // Disable a rule
        flash: 'off',
        // Override a rule
        is_www: {
          label: 'Compact domain',
          description: 'The domain should not include www',
          severity: 'error',
          expected: false,
        },
      },
    }),
  ],
})

@alex-ketch alex-ketch requested a review from endtwist July 15, 2024 20:50
@endtwist endtwist merged commit 30c88c0 into main Jul 31, 2024
7 checks passed
@endtwist endtwist deleted the add-SEOAudit-plugin branch July 31, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants