eslint_d instead of prettier if available
This commit is contained in:
		@@ -17,8 +17,8 @@ return {
 | 
			
		||||
      -- You can customize some of the format options for the filetype (:help conform.format)
 | 
			
		||||
      rust = { "rustfmt" },
 | 
			
		||||
      -- Conform will run the first available formatter
 | 
			
		||||
      javascript = { "prettierd", "prettier", stop_after_first = true },
 | 
			
		||||
      typescript = { "prettierd", "prettier", stop_after_first = true },
 | 
			
		||||
      javascript = { "eslint_d", "prettierd", "prettier", stop_after_first = true },
 | 
			
		||||
      typescript = { "eslint_d", "prettierd", "prettier", stop_after_first = true },
 | 
			
		||||
      format_on_save = {
 | 
			
		||||
        -- These options will be passed to conform.format()
 | 
			
		||||
        timeout_ms = 500,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user