2019-10-30 12:35:51 +01:00
|
|
|
module.exports = {
|
2024-05-30 02:56:30 +02:00
|
|
|
'*.{js,jsx,mjs,ts,tsx,mts}': [
|
2024-05-30 20:39:06 +02:00
|
|
|
'prettier --with-node-modules --ignore-path .prettierignore --write',
|
2024-05-30 02:56:30 +02:00
|
|
|
'eslint --no-ignore --max-warnings=0 --fix',
|
|
|
|
],
|
2024-05-30 20:39:06 +02:00
|
|
|
'*.{json,md,mdx,css,html,yml,yaml,scss}': [
|
|
|
|
'prettier --with-node-modules --ignore-path .prettierignore --write',
|
|
|
|
],
|
|
|
|
'*.rs': ['cargo fmt --'],
|
2019-10-30 12:35:51 +01:00
|
|
|
}
|