android-credential-manager
Version:
An expo module to access the new Android credential Manager. Supports username/password, Passkeys and Google Sign In. This module is built to use the suggested and latest way to sign in users through Google
48 lines (47 loc) • 989 B
JavaScript
module.exports = {
parserPreset: {
parserOpts: {
headerPattern: /^(\w+):\s(:\w+:)\s(.+)$/,
headerCorrespondence: ['type', 'gitmoji', 'subject'],
},
},
rules: {
'type-enum': [
2,
'always',
[
'feat',
'fix',
'docs',
'style',
'refactor',
'perf',
'test',
'build',
'ci',
'chore',
'revert',
'patch',
'deps',
],
],
'type-empty': [2, 'never'],
'subject-empty': [2, 'never'],
'header-match-team-pattern': [2, 'always'],
'subject-case': [0, 'always'],
'header-max-length': [2, 'always', 100],
},
plugins: [
{
rules: {
'header-match-team-pattern': ({ header }) => {
const pattern = /^(\w+):\s(:\w+:)\s(.+)$/;
return [
pattern.test(header),
'Commit message must match format: <type>: :gitmoji: <message>',
];
},
},
},
],
};