bitst0rm-pub / Formatter

🧜‍♀️ A Sublime Text plugin to beautify, minify, convert code: CSS, SCSS, Sass, HTML, XML, SVG,JS,JavaScript, JSON, GraphQL, Markdown, TypeScript, Vue, Lua, YAML, Go, Perl, PHP, Python, Ruby, Rust, Haskell, Dart, Swift, Crystal, Bash, Shell, SQL, CSV, C, C++, C#, Objective-C, D, Java, Pawn, Julia, Blade, LaTeX, D2, Graphviz, Mermaid, PlantUML, etc
Other
105 stars 22 forks source link

Problems with the "args" array in phpcsfixer #20

Closed gabydevdev closed 1 year ago

gabydevdev commented 2 years ago

I'm trying to work with PHP WordPress formatting in my files, so I saw about adding the arguments for the command line. But I don't seem to know how should I add them, in SublimeLinter settings I justs added:

--standard=WordPress-Extra,WordPress-Docs,PHPCompatibilityWP

so I tried:

"args": ["--standard=WordPress-Extra,WordPress-Docs,PHPCompatibilityWP"]

but I keep getting errrors. Should I added them differently in the instructions says add like list. Or is this function unavailable for formatter in php.