No-New-Symbol
Documentation Index
Fetch the complete documentation index at: https://docs.sourcery.ai/llms.txt
Use this file to discover all available pages before exploring further.
Sourcery rule id: no-new-symbol
Section titled “Sourcery rule id: no-new-symbol”Description
Section titled “Description”An instance of Symbol can only be created using Symbol as a function
Before
Section titled “Before”new Symbol("abc")Symbol("abc")Explanation
Section titled “Explanation”Symbol is not intended to be used with the new operator, but called as a function.