
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
eslint-plugin-actions-on-google
Advanced tools
This repository provides implementation of rules to check for common errors in response generation inside of your webhook code on Actions on Google platform using the official Actions on Google Node.js client library.
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-actions-on-google
:
$ npm install eslint-plugin-actions-on-google --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-actions-on-google
globally.
Add actions-on-google
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"actions-on-google"
]
}
Then configure the rules you want to use under the rules section. In the snippet below, rule-name
is a placeholder value for an actual name of a rule)
{
"rules": {
"actions-on-google/rule-name": "error"
}
}
For source code of the rules refer to lib/rules/
Please read and follow the steps in the CONTRIBUTING.md.
The plugin was implemented using the official ESLint guide. Please refer to those docs on how to get started with writing new rules.
The rules were created based on:
Most of the rules regarding the Actions on Google response generation has to do with:
As such, we implemented useful library modules to assist with those 2 tasks, located in count-scope-manager and presence-scope-manager. Additionally, we provide library for classifying simple and helper responses. Together those modules can be reused to create more rules.
Note
See LICENSE.
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service.
FAQs
Linter for Actions on Google response generation.
We found that eslint-plugin-actions-on-google 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.