Skip to content

Commit

Permalink
♻️ ESLint Rules: Updates name and comment for enforce-private-props r…
Browse files Browse the repository at this point in the history
…ule (#22647)

* Adds comment and renames script for better readability

* Updates name & comment
  • Loading branch information
ChrisAntaki authored and jridgewell committed Jun 24, 2019
1 parent 14e2eeb commit 275968a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc
Expand Up @@ -52,7 +52,6 @@
"amphtml-internal/await-expect": 2,
"amphtml-internal/closure-type-primitives": 2,
"amphtml-internal/dict-string-keys": 2,
"amphtml-internal/enforce-private-props": 2,
"amphtml-internal/html-template": 2,
"amphtml-internal/is-experiment-on": 2,
"amphtml-internal/no-array-destructuring": 2,
Expand All @@ -75,6 +74,7 @@
"amphtml-internal/no-swallow-return-from-allow-console-error": 2,
"amphtml-internal/prefer-deferred-promise": 0,
"amphtml-internal/prefer-destructuring": 2,
"amphtml-internal/private-prop-names": 2,
"amphtml-internal/query-selector": 2,
"amphtml-internal/todo-format": 0,
"amphtml-internal/unused-private-field": 2,
Expand Down
Expand Up @@ -15,6 +15,7 @@
*/
'use strict';

/** Enforces naming rules for private properties. */
module.exports = function(context) {
/**
* @param {!Array<!Node>|undefined} commentLines
Expand Down

0 comments on commit 275968a

Please sign in to comment.