nrwl / precise-commits

:sparkles: Painlessly apply Prettier by only formatting lines you have modified anyway!
MIT License
471 stars 20 forks source link

lua files are not being formatted #32

Open dimmonlarin opened 5 years ago

dimmonlarin commented 5 years ago

https://github.com/prettier/plugin-lua is installed, but poorly formatted lua files reported as "No formatting changes required in: file_name.lua" I have a test file with the following code:

require "luacheck.main"

local a=10
local b=11
local c=12

manual applying of prettier to the files gives me the following results:

require"luacheck.main"

local a = 10
local b = 11
local c = 12

but running precise-commits command reports the file as well-formatted.