Component generator option to turn off semicolons
ukazap opened this issue · comments
When I run rails g component button
, it creates js file, and also appends to index.js, both contains semicolons. In my project I don't use semicolons, wouldn't it be nice if I could specify option in application.rb, e.g.:
config.generators do |g|
g.komponent semicolon: false
end
@Spone yes, I am using eslint + prettier