Skip to content

Commit 680b147

Browse files
committed
Enforce using utf-8 instead of utf8 via ESLint
1 parent c10ef7b commit 680b147

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

eslint.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ export default defineConfig([
120120
"unicorn/import-style": "off",
121121
"unicorn/no-await-expression-member": "off",
122122
"unicorn/prevent-abbreviations": "off",
123-
// I actually want the opposite, always use `utf-8`.
124-
"unicorn/text-encoding-identifier-case": "off",
123+
"unicorn/text-encoding-identifier-case": ["error", { withDash: true }],
125124
},
126125
},
127126
{

0 commit comments

Comments
 (0)