
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@twostoryrobot/eslint-config
Advanced tools
The Two Story Robot sharable eslint configuration so you can lint like us.
First, install the package:
npm install --save-dev @twostoryrobot/eslint-config
Create an .eslintrc.js
file:
module.exports = {
extends: '@twostoryrobot'
}
Then add the eslint command to your package.json
:
{
"scripts": {
"eslint": "eslint '**/*.js'"
}
}
You can then run eslint manually with npm run eslint
. We also recommend
running eslint as part of your tests using jest-runner-eslint.
Add our config to the existing eslintConfig
key generated in package.json
:
{
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"@twostoryrobot/eslint-config/react"
]
}
}
Then add the eslint command to your package.json
:
{
"scripts": {
"eslint": "eslint '**/*.js'"
}
}
CRA will automatically run lint checks as part of the build. You can also run
them manually with npm run eslint
.
Developers may want to set ESLINT_NO_DEV_ERRORS=true
to avoid eslint errors
halting the build in development (they will still error in production builds).
Create an .eslintrc.js
file:
module.exports = {
extends: '@twostoryrobot/eslint-config/next'
}
Then add the eslint command to your package.json
:
{
"scripts": {
"eslint": "eslint '**/*.js'",
}
}
Next.js will automatically run lint checks as part of the production build. You
can also run them manually with npm run eslint
.
FAQs
Two Story Robot eslint configuration
We found that @twostoryrobot/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
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.