@mercury-labs/auth
Version:
Mercury framework auth library. It supports local auth, jwt with both bearer token and cookie, basic auth.
19 lines (13 loc) • 435 B
JavaScript
// Documentation for this file: https://prettier.io/docs/en/configuration.html
module.exports = {
printWidth: 80,
// Use .gitattributes to manage newlines
endOfLine: 'auto',
// Use single quotes instead of double quotes
singleQuote: true,
// For ES5, trailing commas cannot be used in function parameters; it is counterintuitive
// to use them for arrays only
trailingComma: 'es5',
semi: false,
tabWidth: 2,
}