
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
github.com/elastic/go-lookslike
This library is here to help you with all your data validation needs. It's ideally suited to writing tests against JSON-like structures, but can do much much more. We use it in elastic/beats for our own tests.
If using go modules edit go.mod
, adding the following to your require list, replacing VERSION, with the latest version from our releases page.
require (
github.com/elastic/go-lookslike VERSION
)
If using govendor run:
govendor fetch github.com/elastic/go-lookslike
lookslike was created to improve the testing of various structures in elastic/beats. Searching the tests for lookslike.MustCompile
will show real world usage.
isdef
s!We currently define only the isdefs we've actually used in the field. If you'd like to add your own, please open a PR (with tests!).
FAQs
Unknown package
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
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.