Skip to content

Commit

Permalink
feat(linter): add codespell (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanWng97 authored Jul 24, 2022
1 parent 5154710 commit 6747bf7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lua/mason-registry/codespell/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
local Pkg = require "mason-core.package"
local pip3 = require "mason-core.managers.pip3"

return Pkg.new {
name = "codespell",
desc = [[check code for common misspellings]],
homepage = "https://github.com/codespell-project/codespell",
languages = {},
categories = { Pkg.Cat.Linter },
install = pip3.packages { "codespell", bin = { "codespell" } },
}
1 change: 1 addition & 0 deletions lua/mason-registry/index.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ return {
["cmake-language-server"] = "mason-registry.cmake-language-server",
codelldb = "mason-registry.codelldb",
codeql = "mason-registry.codeql",
codespell = "mason-registry.codespell",
cpplint = "mason-registry.cpplint",
cpptools = "mason-registry.cpptools",
crystalline = "mason-registry.crystalline",
Expand Down

0 comments on commit 6747bf7

Please sign in to comment.