Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs error #607

Open
Open

Description

message is can‘t in types
bad

module.exports = {
 disableEmoji: false,
 format: '{type}{scope}: {emoji}{subject}',
 list: ['test', 'feat', 'fix', 'chore', 'docs', 'refactor', 'style', 'ci', 'perf'],
 maxMessageLength: 64,
 minMessageLength: 3,
 questions: ['type', 'scope', 'subject', 'body', 'breaking', 'issues', 'lerna'],
 scopes: [],
 types: {
 chore: {
 description: 'Build process or auxiliary tool changes',
 emoji: '🤖',
 value: 'chore'
 },
 ci: {
 description: 'CI related changes',
 emoji: '🎡',
 value: 'ci'
 },
 docs: {
 description: 'Documentation only changes',
 emoji: '✏️',
 value: 'docs'
 },
 feat: {
 description: 'A new feature',
 emoji: '🎸',
 value: 'feat'
 },
 fix: {
 description: 'A bug fix',
 emoji: '🐛',
 value: 'fix'
 },
 perf: {
 description: 'A code change that improves performance',
 emoji: '⚡️',
 value: 'perf'
 },
 refactor: {
 description: 'A code change that neither fixes a bug or adds a feature',
 emoji: '💡',
 value: 'refactor'
 },
 release: {
 description: 'Create a release commit',
 emoji: '🏹',
 value: 'release'
 },
 style: {
 description: 'Markup, white-space, formatting, missing semi-colons...',
 emoji: '💄',
 value: 'style'
 },
 test: {
 description: 'Adding missing tests',
 emoji: '💍',
 value: 'test'
 },
 messages: {
 type: 'Select the type of change that you\'re committing:',
 customScope: 'Select the scope this component affects:',
 subject: 'Write a short, imperative mood description of the change:\n',
 body: 'Provide a longer description of the change:\n ',
 breaking: 'List any breaking changes:\n',
 footer: 'Issues this commit closes, e.g #123:',
 confirmCommit: 'The packages that this commit has affected\n',
 },
 }
};

good

module.exports = {
 disableEmoji: false,
 format: '{type}{scope}: {emoji}{subject}',
 list: ['test', 'feat', 'fix', 'chore', 'docs', 'refactor', 'style', 'ci', 'perf'],
 maxMessageLength: 64,
 minMessageLength: 3,
 questions: ['type', 'scope', 'subject', 'body', 'breaking', 'issues', 'lerna'],
 scopes: [],
 types: {
 chore: {
 description: 'Build process or auxiliary tool changes',
 emoji: '🤖',
 value: 'chore'
 },
 ci: {
 description: 'CI related changes',
 emoji: '🎡',
 value: 'ci'
 },
 docs: {
 description: 'Documentation only changes',
 emoji: '✏️',
 value: 'docs'
 },
 feat: {
 description: 'A new feature',
 emoji: '🎸',
 value: 'feat'
 },
 fix: {
 description: 'A bug fix',
 emoji: '🐛',
 value: 'fix'
 },
 perf: {
 description: 'A code change that improves performance',
 emoji: '⚡️',
 value: 'perf'
 },
 refactor: {
 description: 'A code change that neither fixes a bug or adds a feature',
 emoji: '💡',
 value: 'refactor'
 },
 release: {
 description: 'Create a release commit',
 emoji: '🏹',
 value: 'release'
 },
 style: {
 description: 'Markup, white-space, formatting, missing semi-colons...',
 emoji: '💄',
 value: 'style'
 },
 test: {
 description: 'Adding missing tests',
 emoji: '💍',
 value: 'test'
 },
 
 },
 messages: {
 type: 'Select the type of change that you\'re committing:',
 customScope: 'Select the scope this component affects:',
 subject: 'Write a short, imperative mood description of the change:\n',
 body: 'Provide a longer description of the change:\n ',
 breaking: 'List any breaking changes:\n',
 footer: 'Issues this commit closes, e.g #123:',
 confirmCommit: 'The packages that this commit has affected\n',
 },
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /