
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@1inch/eslint-config
Advanced tools
Common eslint config for all node.js repositories
Install packages
pnpm install --save-dev \
@typescript-eslint/eslint-plugin@7 \
@typescript-eslint/parser@7 \
eslint@9 \
eslint-config-prettier@9 \
eslint-config-standard@17 \
eslint-plugin-import@2 \
eslint-import-resolver-typescript@3 \
eslint-plugin-n@17 \
eslint-plugin-prettier@5 \
eslint-plugin-promise@6 \
eslint-plugin-unused-imports@4 \
prettier@3 \
typescript@5 \
@eslint/compat@1 \
@eslint/js@9 \
@eslint/eslintrc@3 \
@stylistic/eslint-plugin@2 \
@1inch/eslint-config@latest
And then add file eslint.config.mjs:
import oneInchEslintConfig from "@1inch/eslint-config";
export default oneInchEslintConfig
Remove .eslintignore and use special section in eslint.config.mjs for it. Root 1inch eslint config already have this ignores rules.
import oneInchEslintConfig from "@1inch/eslint-config";
export default [
...oneInchEslintConfig,
{
ignores: [
"**/*.mock.ts",
"**/node_modules",
"**/.github",
"**/.idea",
"**/.eslintrc-tmp.js",
"**/dist",
"**/*.json",
"**/*.yml",
"**/*.html",
"**/graph.serviceuser.postgres.repository.service.ts",
"**/migrations",
],
},
{
plugins: {
// ...
},
settings: {
// ...
},
}];
Add prettier file .prettierrc.js:
module.exports = {
singleQuote: true,
trailingComma: 'none',
tabWidth: 4,
printWidth: 120,
bracketSpacing: false,
semi: false
}
FAQs
Common eslint config for all node.js repositories
We found that @1inch/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.