mirror of
https://github.com/RaunoT/plex-rewind.git
synced 2026-11-30 04:12:01 +01:00
16 lines
423 B
JavaScript
16 lines
423 B
JavaScript
const config = {
|
|
'**/*.{js,jsx,mjs,ts,tsx}': [
|
|
'oxlint --fix',
|
|
'oxfmt --no-error-on-unmatched-pattern',
|
|
// A function entry runs the command once, without the staged file list.
|
|
() => 'tsc --noEmit',
|
|
],
|
|
'**/*.css': [
|
|
'stylelint --cache --fix',
|
|
'oxfmt --no-error-on-unmatched-pattern',
|
|
],
|
|
'**/*.{md,json,yml,yaml,html,svg}': 'oxfmt --no-error-on-unmatched-pattern',
|
|
}
|
|
|
|
export default config
|