mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 15:42:14 +02:00
removed level max for phpstan
This commit is contained in:
@@ -19,7 +19,6 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
local lint = require("lint")
|
local lint = require("lint")
|
||||||
local phpcs = lint.linters.phpcs
|
local phpcs = lint.linters.phpcs
|
||||||
local phpstan = lint.linters.phpstan
|
|
||||||
|
|
||||||
phpcs.args = {
|
phpcs.args = {
|
||||||
"-q",
|
"-q",
|
||||||
@@ -29,13 +28,6 @@ return {
|
|||||||
"-",
|
"-",
|
||||||
}
|
}
|
||||||
|
|
||||||
phpstan.args = {
|
|
||||||
"analyze",
|
|
||||||
"--error-format=json",
|
|
||||||
"--no-progress",
|
|
||||||
"--level-max"
|
|
||||||
}
|
|
||||||
|
|
||||||
lint.linters_by_ft = {
|
lint.linters_by_ft = {
|
||||||
lua = { "luacheck" },
|
lua = { "luacheck" },
|
||||||
javascript = { "eslint" },
|
javascript = { "eslint" },
|
||||||
|
|||||||
Reference in New Issue
Block a user