y-which
Version:
'which', but for dependencies in your js projects
22 lines (20 loc) • 377 B
JavaScript
module.exports = {
printWidth: 100,
overrides: [
{
// Lol, JavaScript
files: ['*.js', '*.ts', '*.cjs', '.mjs', '.cts', '.mts', '.cts', '.gjs', '.gts'],
options: {
singleQuote: true,
trailingComma: 'es5',
},
},
{
files: ['*.json'],
options: {
singleQuote: false,
},
},
],
};
;