.eslintrc.yml
This file
Path
.eslintrc.yml
14 lines · 415 bytes · YAML
Last changed by
chore: enforce explicit Buffer import and add lint rule (#6525)Shivam Sharmabefore adoption98c85eb
History of this fileTake it
The walk stopped after 200 commits: lines older than 2027b87 point at it.
fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87
lines 1–10why, one step back1root: true2env:3 es2022: true4 node: true5rules:6 eol-last: error7 eqeqeq: [error, allow-null]8 indent: [error, 2, { MemberExpression: "off", SwitchCase: 1 }]9 no-trailing-spaces: error10 no-unused-vars: [error, { vars: all, args: none, ignoreRestSiblings: true }]chore: enforce explicit Buffer import and add lint rule (#6525)Shivam Sharmabefore adoption98c85eb
lines 11–14why, one step back11 no-restricted-globals:12 - error13 - name: Buffer14 message: Use `import { Buffer } from "node:buffer"` instead of the global Buffer.