
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@strapi/eslint-config
Advanced tools
This package provides Strapi's .eslintrc
as an extensible shared config.
This package is meant for internal use only. The configurations are subject to change at any given point.
You can install this package using it's GitHub repository:
yarn add --dev @strapi/eslint-config
We export four ESLint configurations for your usage. Choose the version you need and look at the usage instructions.
This configuration is aimed as a base.
yarn add --dev eslint@^8.10.0 \
eslint-config-airbnb-base@^15.0.0 \
eslint-config-prettier@^8.5.0 \
eslint-plugin-import@^2.25.4
"extends": "strapi"
to your .eslintrc
This configuration is aimed for backend usage.
yarn add --dev eslint@^8.10.0 \
eslint-config-airbnb-base@^15.0.0 \
eslint-config-prettier@^8.5.0 \
eslint-plugin-import@^2.25.4 \
eslint-plugin-node@^11.1.0
"extends": "strapi/back"
to your .eslintrc
This configuration is aimed for frontend usage as it adds React specific rules.
yarn add --dev babel-eslint@10.0.0 \
eslint@^8.10.0 \
eslint-config-airbnb@^19.0.4 \
eslint-config-prettier@^8.5.0 \
eslint-plugin-import@^2.25.4 \
eslint-plugin-jsx-a11y@^6.5.1 \
eslint-plugin-node@^11.1.0 \
eslint-plugin-react@^7.29.3 \
eslint-plugin-react-hooks@^4.3.0
"extends": "strapi/front"
to your .eslintrc
This configuration is aimed for backend usage with TypeScript.
yarn add --dev @typescript-eslint/eslint-plugin@^5.14.0 \
@typescript-eslint/parser@^5.14.0 \
eslint@^8.10.0 \
eslint-config-airbnb-base@^15.0.0 \
eslint-config-airbnb-typescript@^16.1.1 \
eslint-config-prettier@^8.5.0 \
eslint-plugin-import@^2.25.4 \
eslint-plugin-node@^11.1.0 \
typescript@^4.6.2
"extends": "strapi/typescript"
to your .eslintrc
FAQs
Strapi eslint configurations
The npm package @strapi/eslint-config receives a total of 915 weekly downloads. As such, @strapi/eslint-config popularity was classified as not popular.
We found that @strapi/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.