vault/ui/lint-staged.config.mjs
Vault Automation 0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-10-21 15:20:20 -06:00

15 lines
523 B
JavaScript

/* eslint-env node */
/**
* Copyright IBM Corp. 2016, 2025
* SPDX-License-Identifier: BUSL-1.1
*/
// defining config here rather than in package.json to run tsc on all .ts files, not just the staged changes
// this is accomplished by using function syntax rather than string
export default {
'*.{js,ts}': ['prettier --config .prettierrc.js --write', 'eslint --quiet', () => 'tsc --noEmit'],
'*.hbs': ['prettier --config .prettierrc.js --write', 'ember-template-lint --quiet'],
'*.scss': ['prettier --write'],
};