
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@edx/eslint-config
Advanced tools
If you're using @edx/frontend-build, then you'll get this package for free. Otherwise, you can install it via:
npx install-peerdeps --dev @edx/eslint-config
This will install the package and all of its peer dependencies.
Then, once it's installed, create an .eslintrc.js
file in the top-level directory of your project with the following contents:
module.exports = {
extends: "@edx/eslint-config",
}
If @edx/eslint-config
detects a tsconfig.json
file in the root folder of your project, it will optionally configure ESLint to add support for TypeScript. If a tsconfig.json
file exists, the ESLint config will:
airbnb-typescript
(source).parserOptions.project
to point to the tsconfig.json
file in the root folder of your project.airbnb-typescript
may only be extended if a tsconfig.json
file exists in your project.
If your tsconfig.json
file is defined somewhere other than the root folder of your project, you may override the default ESLint configuration by extending airbnb-typescript
and including the path to your tsconfig.json
file in the parserOptions.project
ESLint configuration.
FAQs
ESLint configuration for edX JavaScript code.
We found that @edx/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.