Skip to content

Commit

Permalink
disable unicorn/prefer-code-point as useless for core-js case
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Sep 24, 2022
1 parent ad96d14 commit 3039471
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,6 @@ const base = {
'unicorn/prefer-array-index-of': ERROR,
// prefer `.some(…)` over `.filter(…).length` check and `.find(…)`
'unicorn/prefer-array-some': ERROR,
// prefer code points over char codes
'unicorn/prefer-code-point': ERROR,
// prefer default parameters over reassignment
'unicorn/prefer-default-parameters': ERROR,
// prefer `EventTarget` over `EventEmitter`
Expand Down Expand Up @@ -725,8 +723,6 @@ const es3 = {
'quote-props': [ERROR, 'as-needed', { keywords: true }],
// require strict mode directives
strict: OFF,
// prefer code points over char codes
'unicorn/prefer-code-point': OFF,
// prefer default parameters over reassignment
'unicorn/prefer-default-parameters': OFF,
// prefer using a logical operator over a ternary
Expand Down Expand Up @@ -928,8 +924,6 @@ const transpiledAndPolyfilled = {
'es/no-bigint': ERROR,
// unpolyfillable es2021 builtins
'es/no-weakrefs': ERROR,
// prefer code points over char codes
'unicorn/prefer-code-point': OFF,
};

const nodePackages = {
Expand Down

0 comments on commit 3039471

Please sign in to comment.