
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.
eslint-config-indico
Advanced tools
This is the ESLint config used by the Indico team.
npm install --save-dev eslint-config-indico
# if you use babel
npm install --save-dev eslint-plugin-babel @babel/eslint-parser
# if you use react
npm install --save-dev eslint-plugin-react
# if you use react-hooks
npm install --save-dev eslint-plugin-react-hooks
# if you use prettier
npm install --save-dev prettier eslint-plugin-prettier eslint-config-prettier
The base config. You always want this when using this package.
Requires eslint-plugin-import
Enables rules from the react plugin.
Requires eslint-plugin-react
Enables rules from the react-hooks plugin.
Requires eslint-plugin-react-hooks
Enables the babel plugin and parser.
Requires eslint-plugin-babel
and @babel/eslint-parser
.
Make sure to load this after the indico
preset to avoid duplicate quote warnings.
Enables prettier integration.
Requires prettier
, eslint-config-prettier
and eslint-plugin-prettier
Make sure to load this after all other indico/*
presets.
When using babel/react, also enable the prettier/babel
and prettier/react
presets.
For convenience, we also include a prettier config, that can be loaded by putting "eslint-config-indico/prettier-config"
in your .prettierrc
.
.eslintrc.yml
extends:
- 'indico'
- 'indico/babel'
- 'indico/react'
- 'indico/react-hooks'
- 'indico/prettier'
- 'prettier/babel'
- 'prettier/react'
env:
browser: true
es6: true
FAQs
ESLint config/preset used by the Indico team
The npm package eslint-config-indico receives a total of 207 weekly downloads. As such, eslint-config-indico popularity was classified as not popular.
We found that eslint-config-indico demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.