Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@ticketmaster/eslint-config-allure
Advanced tools
Allure shareable ESLint configuration that follow Allure design system recommendations
Opinionated ESLint configuration that follow Allure design system recommendations
The following packages need to be present on your project in order to use this library.
"eslint": ">=7.0.0",
"prettier": "^2.0.5",
"typescript": ">=3.7.0"
If they are not already present, add the required peerDependencies to your devDependencies
yarn add eslint prettier typescript -D
Add @ticketmaster/eslint-config-allure
to your devDependencies
yarn add @ticketmaster/eslint-config-allure -D
Add "@ticketmaster/eslint-config-allure"
into the extends property of your .eslintrc.json
file.
{
"extends": ["@ticketmaster/eslint-config-allure"]
}
Since @ticketmaster/eslint-config-allure is opinionated, your TSLint configuration file should not have any override rules and should look very similar to the one above.
@ticketmaster/eslint-config-allure remove all the formating rules already supported by Prettier. Because of that, if you have an auto-fix script, you gonna need to add the Prettier formater inside of this script.
It is recommended to add the two following scripts into you packages.json to facilitate your usage of ESlint.
"scripts": {
"lint": "eslint .",
"format": "prettier --write --loglevel warn .",
"fix": "yarn lint --fix && yarn format"
}
FAQs
Allure shareable ESLint configuration that follow Allure design system recommendations
We found that @ticketmaster/eslint-config-allure demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.