Skip to content

Commit

Permalink
some stylistic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Aug 24, 2023
1 parent 6b4dcc1 commit 628463c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core-js/internals/string-punycode-to-ascii.js
Expand Up @@ -147,7 +147,7 @@ var encode = function (input) {
var q = delta;
var k = base;
while (true) {
var t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
if (q < t) break;
var qMinusT = q - t;
var baseMinusT = base - t;
Expand Down
4 changes: 2 additions & 2 deletions tests/eslint/eslint.config.js
Expand Up @@ -91,7 +91,7 @@ const base = {
// disallow unmodified loop conditions
'no-unmodified-loop-condition': ERROR,
// disallow use of undeclared variables unless mentioned in a /*global */ block
'no-undef': [ERROR],
'no-undef': [ERROR, { typeof: false }],
// disallow control flow statements in `finally` blocks
'no-unsafe-finally': ERROR,
// avoid code that looks like two expressions but is actually one
Expand Down Expand Up @@ -222,7 +222,7 @@ const base = {
'no-shadow-restricted-names': ERROR,
// restrict what can be thrown as an exception
'no-throw-literal': ERROR,
// disallow initializing variables to undefined
// disallow initializing variables to `undefined`
'no-undef-init': ERROR,
// disallow dangling underscores in identifiers
'no-underscore-dangle': ERROR,
Expand Down

0 comments on commit 628463c

Please sign in to comment.