0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/bin
Sam bb8ed7d6f9
DEV: fix linter and linting config (#36815)
This amends lefthook to use the more reliable doublestar globber:
https://github.com/evilmartians/lefthook/blob/master/docs/mdbook/configuration/glob_matcher.md
it also cleans up the config so we can properly run and filter.

Notably ember linter explodes if you pass it files your are not meant to
lint.

The current fix has bin/lint read the config from lefthook and filter
out the files that need no linting. `--file` overrides the glob so we
can not pass in files unfiltered.

This also simplifies some of the linters internals for easier
maintenance
2025-12-22 07:23:19 +11:00
..
docker DEV: Add Pitchfork alongside Unicorn (#35370) 2025-10-24 11:08:23 +02:00
annotaterb DEV: fix linter and linting config (#36815) 2025-12-22 07:23:19 +11:00
bundle DEV: fix linter and linting config (#36815) 2025-12-22 07:23:19 +11:00
dev DEV: Add basic bin/dev script for launching in development (#23254) 2023-08-25 12:07:16 +08:00
ember-cli DEV: fix linter and linting config (#36815) 2025-12-22 07:23:19 +11:00
lint DEV: fix linter and linting config (#36815) 2025-12-22 07:23:19 +11:00
notify_file_change FIX: notify_file_change was outputting a command to vim 2020-12-10 10:03:57 -05:00
pitchfork DEV: Add Pitchfork alongside Unicorn (#35370) 2025-10-24 11:08:23 +02:00
qunit DEV: Fix bin/qunit LOAD_PLUGINS for themes (#36261) 2025-11-26 17:42:09 +00:00
rails DEV: Add Pitchfork alongside Unicorn (#35370) 2025-10-24 11:08:23 +02:00
rake DEV: fix linter and linting config (#36815) 2025-12-22 07:23:19 +11:00
rspec DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
rubocop DEV: fix linter and linting config (#36815) 2025-12-22 07:23:19 +11:00
system_rspec DEV: Minimal first pass of rails system test setup (#16311) 2022-09-28 11:48:16 +10:00
turbo_rspec DEV: Enforce deprecation-free tests for preinstalled plugins/themes (#36445) 2025-12-16 17:48:29 -03:00
unicorn DEV: Extract unicorn server PID when ArgumentError raised (#36649) 2025-12-15 09:56:04 +10:00