Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Use codespell (#4145)
hq10381bc612134
diff --git a/.codespellignore b/.codespellignorenew file mode 100644index 0000000000..da4c972dae--- /dev/null+++ b/.codespellignore@@ -0,0 +1,8 @@+caf+Linz+linz+Taht+taht+referer+referers+diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.ymlnew file mode 100644index 0000000000..2be4a31033--- /dev/null+++ b/.github/workflows/codespell.yml@@ -0,0 +1,17 @@+name: Check spelling++on:+ pull_request:+ push:+ branches: [ master ]++jobs:+ codespell:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v2+ - uses: codespell-project/actions-codespell@v2+ with:+ check_filenames: true+ ignore_words_file: .codespellignore+ path: lib test extradiff --git a/lib/plausible/funnel/const.ex b/lib/plausible/funnel/const.exindex b010d82ced..05e29e9513 100644--- a/lib/plausible/funnel/const.ex+++ b/lib/plausible/funnel/const.ex@@ -1,6 +1,6 @@defmodule Plausible.Funnel.Const do@moduledoc """- Compile-time convience constants for funnel characteristics.+ Compile-time convenience constants for funnel characteristics."""@min_steps 2@max_steps 8diff --git a/test/plausible/pagination_test.exs b/test/plausible/pagination_test.exsindex 2f9dab00be..eb209b763a 100644--- a/test/plausible/pagination_test.exs+++ b/test/plausible/pagination_test.exs@@ -31,7 +31,7 @@ defmodule Plausible.PaginationTest doassert Enum.count(pagination.entries) == Enum.count(sites)end- test "user provided limit exceeeds maximum limit", %{query: q} do+ test "user provided limit exceeds maximum limit", %{query: q} dopagination = Pagination.paginate(q, %{"limit" => 200}, cursor_fields: [id: :desc])assert pagination.metadata.limit == 10enddiff --git a/test/plausible_web/controllers/auth_controller_test.exs b/test/plausible_web/controllers/auth_controller_test.exsindex a04da8b9e7..32383f44fc 100644--- a/test/plausible_web/controllers/auth_controller_test.exs+++ b/test/plausible_web/controllers/auth_controller_test.exs@@ -1112,7 +1112,7 @@ defmodule PlausibleWeb.AuthControllerTest doassert team_member_usage_row_text == "Team members 0"end- test "redners 2FA section in disabled state", %{conn: conn} do+ test "renders 2FA section in disabled state", %{conn: conn} doconn = get(conn, "/settings")assert html_response(conn, 200) =~ "Enable 2FA"diff --git a/test/plausible_web/controllers/google_analytics_controller_test.exs b/test/plausible_web/controllers/google_analytics_controller_test.exsindex f53a1559b9..b6a7cc224a 100644--- a/test/plausible_web/controllers/google_analytics_controller_test.exs+++ b/test/plausible_web/controllers/google_analytics_controller_test.exs@@ -172,7 +172,7 @@ defmodule PlausibleWeb.GoogleAnalyticsControllerTest do"Google Analytics API has timed out."end- test "redirects to imports and exports on list retrival failure with flash error",+ test "redirects to imports and exports on list retrieval failure with flash error",%{conn: conn,site: sitediff --git a/test/plausible_web/controllers/site_controller_test.exs b/test/plausible_web/controllers/site_controller_test.exsindex b3629816dd..27913c2acc 100644--- a/test/plausible_web/controllers/site_controller_test.exs+++ b/test/plausible_web/controllers/site_controller_test.exs@@ -756,7 +756,7 @@ defmodule PlausibleWeb.SiteControllerTest dosetup tags doif tags[:async] do- raise "this test modifies application envinronment and can't be run asynchronously"+ raise "this test modifies application environment and can't be run asynchronously"endprev_env = Application.get_env(:ex_aws, :s3)@@ -1556,7 +1556,7 @@ defmodule PlausibleWeb.SiteControllerTest doassert is_nil(site.domain_changed_from)end- test "domain change succcessful form submission redirects to snippet change info", %{+ test "domain change successful form submission redirects to snippet change info", %{conn: conn,site: site} do