Skip to content

Commit ef07973

Browse files
committed
feat: ignore all luacheck warnings
1 parent c89bf6f commit ef07973

24 files changed

+24
-24
lines changed

crates/vim9-gen/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ mod generate_program {
16801680
16811681
-- Ignore "value assigned to a local variable is unused" because
16821682
-- we can't guarantee that local variables will be used by plugins
1683-
-- luacheck: ignore 311
1683+
-- luacheck: ignore
16841684
--- @diagnostic disable
16851685
16861686
local vim9 = require('_vim9script')

crates/vim9-gen/testdata/output/busted_assign.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
8-
-- luacheck: ignore 311
8+
-- luacheck: ignore
99
--- @diagnostic disable
1010

1111
local vim9 = require('_vim9script')

crates/vim9-gen/testdata/output/busted_defer.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
8-
-- luacheck: ignore 311
8+
-- luacheck: ignore
99
--- @diagnostic disable
1010

1111
local vim9 = require('_vim9script')

crates/vim9-gen/testdata/output/busted_function.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
8-
-- luacheck: ignore 311
8+
-- luacheck: ignore
99
--- @diagnostic disable
1010

1111
local vim9 = require('_vim9script')

crates/vim9-gen/testdata/output/busted_heredoc.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
8-
-- luacheck: ignore 311
8+
-- luacheck: ignore
99
--- @diagnostic disable
1010

1111
local vim9 = require('_vim9script')

crates/vim9-gen/testdata/output/busted_indexing.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
8-
-- luacheck: ignore 311
8+
-- luacheck: ignore
99
--- @diagnostic disable
1010

1111
local vim9 = require('_vim9script')

crates/vim9-gen/testdata/output/busted_loops.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
8-
-- luacheck: ignore 311
8+
-- luacheck: ignore
99
--- @diagnostic disable
1010

1111
local vim9 = require('_vim9script')

crates/vim9-gen/testdata/output/busted_megamethods.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
8-
-- luacheck: ignore 311
8+
-- luacheck: ignore
99
--- @diagnostic disable
1010

1111
local vim9 = require('_vim9script')

crates/vim9-gen/testdata/output/busted_methods.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
8-
-- luacheck: ignore 311
8+
-- luacheck: ignore
99
--- @diagnostic disable
1010

1111
local vim9 = require('_vim9script')

crates/vim9-gen/testdata/output/busted_methods_1.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
8-
-- luacheck: ignore 311
8+
-- luacheck: ignore
99
--- @diagnostic disable
1010

1111
local vim9 = require('_vim9script')

0 commit comments

Comments
 (0)