diff --git a/.codespellignore b/.codespellignore new file mode 100644 index 0000000..e69de29 diff --git a/.github/workflows/codespell.yaml b/.github/workflows/codespell.yaml new file mode 100644 index 0000000..fae65a6 --- /dev/null +++ b/.github/workflows/codespell.yaml @@ -0,0 +1,15 @@ +name: CodeSpell +on: + - pull_request +jobs: + codespell: + name: CodeSpell + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: CodeSpell + uses: codespell-project/actions-codespell@master + with: + check_filenames: true + check_hidden: true + ignore_words_file: .codespellignore diff --git a/lib/bulletmark_repairer/configuration.rb b/lib/bulletmark_repairer/configuration.rb index e844599..2062a0e 100644 --- a/lib/bulletmark_repairer/configuration.rb +++ b/lib/bulletmark_repairer/configuration.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module BulletmarkRepairer - class Configration + class Configuration attr_accessor :skip_file_list, :logger attr_writer :debug @@ -22,7 +22,7 @@ def configure end def config - @config ||= Configration.new + @config ||= Configuration.new end end end