
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@lendi/typescript-eslint-config
Advanced tools
Add the package to your project.
yarn add --dev @lendi/typescript-eslint-config
Create a .eslintrc.js file in the root of the project and paste in the following code:
const frontend = require('@lendi/typescript-eslint-config').frontend;
// Specify the typescript rules defined for this project.
frontend.parserOptions.project = './tsconfig.esm.json';
module.exports = frontend;
To specifically import the backend configuration, just change all instances of the word frontend to backend in the above block of code. The major difference between the two is detection and linting of jsx code.
Add the following script to your package.json:
"eslint": "eslint -c .eslintrc.js --ext .js,.jsx,.ts,.tsx ./"
The last argument should be the location of where eslint should be run against (e.g. src/ or packages/).
For any issues, please contact the HUB team.
FAQs
## How to use
We found that @lendi/typescript-eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 53 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.