![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
agoda-tslint
Advanced tools
A set of TSLint rules used on some Agoda projects.
Prints out a warning, that this function / method should not be used, and should get refactored if possible
A list of banned functions or methods in the following format:
"functionName"
["functionName"]
{"name": "functionName", "message": "optional explanation message"}
["functionName", "methodName", "optional message"]
{"name": ["objectName", "methodName"], "message": "optional message"}
{"name": ["foo", "bar", "baz"]}
bans foo.bar.baz()
*
) that matches everything. {"name": ["*", "forEach"]}
bans
[].forEach(...)
, $(...).forEach(...)
, arr.forEach(...)
, etc.Example usage:
"do-not-use": [
true,
{name: ["*", "forEach"], message: "Please refactor and use regular loops instead"},
],
Prevents traversing upwards in directory structure when importing files, forcing the use of root relative imports instead.
Example:
import { MyComponent } from './MyComponent'; -> allowed
import { MyComponent } from './Child/MyComponent'; -> allowed
import { MyComponent } from 'components/MyComponent'; -> allowed
import { MyComponent } from '../components/MyComponent'; -> not allowed
Example usage:
"root-relative-imports": true,
FAQs
A set of TSLint rules used on some Agoda projects.
The npm package agoda-tslint receives a total of 25 weekly downloads. As such, agoda-tslint popularity was classified as not popular.
We found that agoda-tslint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.