Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upDefining globals #103
Comments
This comment has been minimized.
This comment has been minimized.
|
From the README: How do I ignore files?The paths Sometimes you need to ignore additional folders or specific minfied files. To do that, add "standard": {
"ignore": [
"**/out/**",
"**/lib/select2/**",
"**/lib/ckeditor/**"
]
} |
This comment has been minimized.
This comment has been minimized.
|
@yoshuawuyts you probably misunderstood my question. I am trying to ignore certain globals from generating standard's errors through some config setting. But I finally settled on explicitly specifying /* global Titanium, Allow, arguments */in each file. |
feross
closed this
Apr 5, 2015
This comment has been minimized.
This comment has been minimized.
|
whoops, my bad. |
This comment has been minimized.
This comment has been minimized.
mattdesl
commented
Apr 11, 2015
|
Is there a resolution for this issue? I tend to work with APIs like ThreeJS, CocoonJS, PIXI, etc. which are often in global scope. |
This comment has been minimized.
This comment has been minimized.
|
@mattdesl I put |
kmamykin commentedApr 4, 2015
I am working on a Appcelerator Titanium project, where the framework defines several globals that I would like to ignore.
Is there a suggested way to override them (through package.json for example) and keep using standard (instead of switching to eslint)?