selene icon indicating copy to clipboard operation
selene copied to clipboard

A blazing-fast modern Lua linter written in Rust

Results 118 selene issues
Sort by recently updated
recently updated
newest added

With this change, if the `--config` flag is not specified, selene will search the current directory and all parent directories for a `selene.toml` file, rather than only looking in the...

The extension now lints on the files directly instead of forwarding text to let cli handle exclude.

This PR: * add 20 lines of code, but it keep all the original checkings. * I've tried it to look as similar to the original code as possible. *...

# Expected Behavior Selene's VS Code extension should only lint files present in the workspace root. IE: given a workspace with the root `~/code/factorio/chunk-power` the extension should only lint files...

Selene should allow prefixing all of its configuration with a dot. [StyLua allows this.](https://github.com/JohnnyMorganz/StyLua#finding-the-configuration) This would aid with having developer tooling configurations being distinguished from ordinary source files.

C-enhancement
A-bin

These are all executed from the `selene-test` workspace. Works: ``` exclude = ["**/file.lua"] ``` ``` selene C:\Users\chris\OneDrive\Documents\selene-test\src\file.lua ``` Works: ``` exclude = ["src/**"] ``` ``` selene src/file.lua ``` Doesn't work:...

C-bug
A-bin

Currently Selene doesn't really like my usage of `goto` labels, as shown below. It'd be nice if it was supported. ![image](https://user-images.githubusercontent.com/26746527/112914175-88e4a480-90b8-11eb-975b-f2ba23d59872.png)

C-enhancement

See [docs](https://github.com/Kampfkarren/selene/pull/548/files#diff-a6f098e5f68aea9be9769adc9f7b4fc4d3c1923ded1e667ccca6d32ccee0d703) for the lint behavior. ## NOTE There's a small false positive that should be fixed https://github.com/Kampfkarren/selene/pull/548/files#diff-a6f098e5f68aea9be9769adc9f7b4fc4d3c1923ded1e667ccca6d32ccee0d703R59

Closes: #375 Fixes selene prompting the user to update their version of selene, despite the user having declared a specific version.