Skip to content

turn on prefer-const#52

Merged
philipwalton merged 3 commits intogoogle:masterfrom
chrisjshull:patch-2
Oct 14, 2018
Merged

turn on prefer-const#52
philipwalton merged 3 commits intogoogle:masterfrom
chrisjshull:patch-2

Conversation

@chrisjshull
Copy link
Copy Markdown
Contributor

@chrisjshull chrisjshull mentioned this pull request Oct 13, 2018
Comment thread index.js Outdated
// 'object-shorthand': 0,
// 'prefer-arrow-callback': 0,
// 'prefer-const': 0,
'prefer-const': ["error", {"destructuring": "all"}],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Switch this to single quotes so the tests pass.

Comment thread index.js Outdated
// 'object-shorthand': 0,
// 'prefer-arrow-callback': 0,
// 'prefer-const': 0,
'prefer-const': ['error', {'destructuring': 'all'}],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry, should have also mentioned, can you remove the quotes from the object key destructuring? It should be:

'prefer-const': ['error', {destructuring: 'all'}],

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You know, I have "allow edits from maintainers" turned on ;)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I did not know that! But it all looks good now anyway, thanks!

@philipwalton philipwalton merged commit bafc5ae into google:master Oct 14, 2018
RandomByte added a commit to SAP/ui5-fs that referenced this pull request Nov 15, 2018
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
RandomByte added a commit to SAP/ui5-builder that referenced this pull request Nov 15, 2018
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
RandomByte added a commit to SAP/ui5-project that referenced this pull request Nov 15, 2018
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
RandomByte added a commit to SAP/ui5-server that referenced this pull request Nov 15, 2018
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
RandomByte added a commit to SAP/ui5-cli that referenced this pull request Nov 15, 2018
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
RandomByte added a commit to SAP/ui5-cli that referenced this pull request Nov 15, 2018
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
RandomByte added a commit to SAP/ui5-server that referenced this pull request Nov 15, 2018
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
RandomByte added a commit to SAP/ui5-project that referenced this pull request Nov 15, 2018
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
RandomByte added a commit to SAP/ui5-builder that referenced this pull request Nov 15, 2018
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
RandomByte added a commit to SAP/ui5-fs that referenced this pull request Nov 15, 2018
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
tobiasso85 pushed a commit to SAP/ui5-builder that referenced this pull request Dec 17, 2018
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 26, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 26, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 26, 2025
ESLint rule update will follow with eslint-config-google dependency bump. See google/eslint-config-google#52
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.

2 participants