Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

AtomLinter/linter-luacheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linter-luacheck

Mac Windows Linux
mac-badge win-badge linux-badge

This package will lint your opened Lua files in Atom, using luacheck.

Installation

Configuration

Atom -> Preferences... -> Packages -> linter-luacheck -> Settings:

  • Executable Path to your luacheck executable.

To config luacheck, you may:

Use config file named .luacheckrc (in project root and/or Lua source dirs).

Example .luacheckrc at project root:

files['*.rockspec'].global = false
files['.luacheckrc'].global = false
files['spec/*_spec.lua'].std = 'min+busted'

Or use luacheck inline options.

Example project/luafile.lua:

local lib = {}
function lib.add(self, a, b) -- luacheck: ignore self
  return a+b
end

Contribute

Bugs, ideas and pull requests please go to AtomLinter/linter-luacheck.

About

Atom Linter module. Lint Lua on the fly, using luacheck

Resources

Stars

Watchers

Forks

Packages

No packages published