
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
eslint-plugin-wxml
Advanced tools
## npm
$ npm install eslint-plugin-wxml --save-dev
## cnpm (for china user)
$ cnpm install eslint-plugin-wxml --save-dev
## pnpm
$ pnpm add eslint-plugin-wxml -D
## yarn
$ yarn add eslint-plugin-wxml -D
eslint.config.mjs
)Use eslint.config.mjs
file to configure rules. This is the default in ESLint v9, but can be used starting from ESLint v8.57.0. See also: https://eslint.org/docs/latest/use/configure/configuration-files-new.
Example eslint.config.mjs:
import wxml from "eslint-plugin-wxml";
import wxmlParser from "@wxml/parser";
export default [
{
files: ["**/*.wxml"],
plugins: {
wxml: wxml,
},
languageOptions: {
parser: wxmlParser,
},
rules: {
"wxml/report-wxml-syntax-error": "error",
},
},
];
.eslintrc
)Use .eslintrc.*
file to configure rules. See also: https://eslint.org/docs/v8.x/use/configure/configuration-files.
+ "overrides": [
+ {
+ "files": ["*.wxml"],
+ "rules": {
+ "wxml/report-wxml-syntax-error": "error"
+ },
+ "plugins": ["wxml"],
+ "processor": "wxml/wxml",
+ "parser": "@wxml/parser"
+ }
+ ],
Missing your wanted rule ? please report it as a new github issue, thanks !
Copyright (c) 2021-present, Lei Chen
FAQs
eslint plugin for wxml
We found that eslint-plugin-wxml demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.