You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
ERROR: /code/my_project/node_modules/asn1js/build/asn1.js[8, 5]: variable name must be in lowerCamelCase, PascalCase or UPPER_CASE
ERROR: /code/my_project/node_modules/asn1js/build/asn1.js[8, 55]: if statements must be braced
ERROR: /code/my_project/node_modules/asn1js/build/asn1.js[10, 5]: variable name must be in lowerCamelCase, PascalCase or UPPER_CASE
ERROR: /code/my_project/node_modules/asn1js/build/asn1.js[10, 233]: if statements must be braced
...
Expected behavior
I expect tslint to obey the exclude: [ "node_modules" ]. If I remove the "npm:asn1js" entry from paths, I get no tslint errors.
The text was updated successfully, but these errors were encountered:
jamesarosen
changed the title
tsconfig.json paths wins over excludes
tsconfig.json excludes should win over paths
Jan 5, 2018
Bug Report
TypeScript code being linted
asn1.js
with
tsconfig.json
:with
tslint.json
configuration:Actual behavior
Running
I get
Expected behavior
I expect tslint to obey the
exclude: [ "node_modules" ]
. If I remove the"npm:asn1js"
entry frompaths
, I get no tslint errors.The text was updated successfully, but these errors were encountered: