Skip to content

Commit

Permalink
lib: enforce use of Symbol from primordials
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Nov 30, 2019
1 parent 2070d3f commit 732f5b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/.eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ rules:
message: "Use `const { Object } = primordials;` instead of the global."
- name: Reflect
message: "Use `const { Reflect } = primordials;` instead of the global."
- name: Symbol
message: "Use `const { Symbol } = primordials;` instead of the global."
no-restricted-syntax:
# Config copied from .eslintrc.js
- error
Expand Down

0 comments on commit 732f5b8

Please sign in to comment.