Skip to content

Commit

Permalink
fix: invalid prettier configuration in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Dec 1, 2023
1 parent 3fc2c95 commit e8ac7f1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Remove Label

on: [issue_comment]

jobs:
# Remove the "question" label when a new comment is added.
# This lets me ask a question, tag the issue with "question", and filter out all "question"-tagged
# issues in my "needs triage" filter.
remove_question:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-ecosystem/action-remove-labels@v1
with:
labels: question
13 changes: 0 additions & 13 deletions lua/conform/formatters/prettier.lua
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
require("conform").setup({
formatters = {
prettier = {
args = function(ctx)
if vim.endswith(ctx.filename, ".ejs") then
return { "--stdin-filepath", "$FILENAME", "--parser", "html" }
end
return { "--stdin-filepath", "$FILENAME" }
end,
},
},
})

local util = require("conform.util")
---@type conform.FileFormatterConfig
return {
Expand Down

0 comments on commit e8ac7f1

Please sign in to comment.