Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4 Release #67

Closed
3 tasks done
whymarrh opened this issue Aug 31, 2020 · 3 comments
Closed
3 tasks done

v4 Release #67

whymarrh opened this issue Aug 31, 2020 · 3 comments

Comments

@whymarrh
Copy link
Contributor

This issue tracks the progress of the v4 release.

Changes:

The draft version bump: #64

@whymarrh
Copy link
Contributor Author

cc @MetaMask/devs is there anything else we want to put into this release?

@brad-decker
Copy link
Contributor

@whymarrh I think that this one isn't too controversial, referencing from MetaMask/metamask-extension#8595

    // 'lines-around-comment': 'error',
    // Our eslint config has the default setting for this as error. This
    // include beforeBlockComment: true, but in order to match the prettier
    // spec you have to enable before and after blocks, objects and arrays
    // https://github.com/prettier/eslint-config-prettier#lines-around-comment
    'lines-around-comment': [
      'error',
      {
        beforeBlockComment: true,
        afterLineComment: false,
        allowBlockStart: true,
        allowBlockEnd: true,
        allowObjectStart: true,
        allowObjectEnd: true,
        allowArrayStart: true,
        allowArrayEnd: true,
      },
    ],

It mostly conforms to what we currently have set but with some additional allowances for comments at the start and end of certain object types. This moves us towards an eslint configuration that doesn't conflict with prettier.

@Gudahtt
Copy link
Member

Gudahtt commented Oct 21, 2020

@Gudahtt Gudahtt closed this as completed Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants