Skip to content

Conversation

@lcampos
Copy link
Contributor

@lcampos lcampos commented Mar 7, 2020

Add eslint configuration to the project.

@W-7302635@

"sourceType": "module"
},
"plugins": ["@typescript-eslint", "jsdoc"],
"extends": ["plugin:@typescript-eslint/recommended"],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

},
"plugins": ["@typescript-eslint", "jsdoc"],
"extends": ["plugin:@typescript-eslint/recommended"],
"rules": {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to check specific rules you can get the docs for them on https://eslint.org/docs/rules/

src/i18n/i18n.ts Outdated
export const messages = {
md_request_fail: 'Metadata API request failed',
md_request_timeout: 'Metadata API request timed out'
mdRequestFail: 'Metadata API request failed',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we switching the convention from underscores to camelCasing for the messages? If it's switching can you update the other ones when you're resolving the conflicts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking I'll get rid of that rule for now

@lcampos lcampos merged commit 99f3a31 into master Mar 10, 2020
@lcampos lcampos deleted the lcampos/eslint branch March 10, 2020 20:44
"@types/mocha": "^5",
"@types/node": "^10",
"@types/sinon": "^7.5.2",
"@types/sinon": "^7.5.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nitpick - formatting was off here for some reason

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also think this has to be "^2.3.2"

WillieRuemmele pushed a commit that referenced this pull request Nov 13, 2025
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

Successfully merging this pull request may close these issues.

6 participants