Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit d33836d

Browse files
authored
chore: Remove selene comments and references (#106)
1 parent 79d1a6f commit d33836d

File tree

7 files changed

+0
-17
lines changed

7 files changed

+0
-17
lines changed

docs/contributing.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,6 @@ quote_style = "AutoPreferDouble"
8888
> **NOTE:** use `--config-path /path/to/doom/nvim/stylua.toml` to use doom's
8989
> stylua configuration.
9090
91-
- [selene] is a blazing-fast modern Lua linter written in Rust which is used for
92-
linting doom's source code. We make use of some custom rules so we can be sure
93-
that selene will not raise false errors.
94-
95-
> **NOTE:** use `selene .` in doom's root dir and selene will automatically
96-
> detect the `selene.toml` and `doom.toml` files.
97-
9891
#### Commits & PRs
9992

10093
- Target `develop` instead of `main`.
@@ -113,4 +106,3 @@ your pull request :)
113106

114107
[gist]: https://gist.github.com/
115108
[stylua]: https://github.com/JohnnyMorganz/StyLua
116-
[selene]: https://github.com/Kampfkarren/selene

docs/getting_started.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,6 @@ But first let's see what's new:
544544
documentation is the core of all projects.
545545
- Restructured source code. Now the doom nvim source code is much cleaner and
546546
easier to understand.
547-
- Added selene linter CI for incoming pull requests and stylua CI for pushes.
548-
Let's get a consistent way to maintain Doom Nvim source!
549547

550548
Now that we know what's new we will surely want to update, isn't it?
551549

lua/doom/core/config/init.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,6 @@ end
438438
--
439439
-- @param langs The list of languages in the doomrc
440440
M.install_servers = function(langs)
441-
-- selene: allow(undefined_variable)
442441
if packer_plugins and packer_plugins["lspinstall"] and packer_plugins["lspinstall"].loaded then
443442
local lspinstall = require("lspinstall")
444443
local installed_servers = lspinstall.installed_servers()
@@ -469,7 +468,6 @@ end
469468
--
470469
-- @param langs The list of languages in the doomrc
471470
M.install_dap_clients = function(langs)
472-
-- selene: allow(undefined_variable)
473471
if
474472
packer_plugins
475473
and packer_plugins["DAPInstall.nvim"]

lua/doom/extras/logging/init.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ local default_config = {
6565
-- {{{ NO NEED TO CHANGE
6666
local log = {}
6767

68-
-- selene: allow(incorrect_standard_library_use)
6968
local unpack = unpack or table.unpack
7069

7170
log.new = function(config, standalone)

lua/doom/modules/built-in/compiler/init.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
local log = require("doom.extras.logging")
22
local term
33

4-
-- selene: allow(undefined_variable)
54
if packer_plugins and packer_plugins["nvim-toggleterm.lua"] then
65
term = require("toggleterm.terminal").Terminal
76
else

lua/doom/modules/built-in/runner/init.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
local log = require("doom.extras.logging")
22
local term
33

4-
-- selene: allow(undefined_variable)
54
if packer_plugins and packer_plugins["nvim-toggleterm.lua"] then
65
term = require("toggleterm.terminal").Terminal
76
else

lua/doom/modules/config/doom-compe.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
--# selene: allow(global_usage)
2-
31
--- nvim-compe configuration
42
-- https://github.com/hrsh7th/nvim-compe#lua-config
53
return function()

0 commit comments

Comments
 (0)