
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.
@sajari/eslint-config
Advanced tools
A ESLint configuration for use in Sajari TypeScript projects.
A Sajari-specific ESLint configuration for JavaScript, TypeScript & React projects.
This config extends
yarn add babel-eslint@^10.1.0 \
eslint@^7.16.0 \
eslint-plugin-import@^2.22.1 \
eslint-plugin-jsx-a11y@^6.4.1 \
eslint-plugin-prettier@^3.3.0 \
eslint-plugin-react@^7.22.0 \
eslint-plugin-react-hooks@^4.2.0 \
eslint-plugin-simple-import-sort@^7.0.0 \
prettier@^2.2.1 \
prettier-eslint@12.0.0 \
@typescript-eslint/eslint-plugin@^4.4.1 \
--dev
Or if you don't need React support...
yarn add babel-eslint@^10.1.0 \
eslint@^7.16.0 \
eslint-plugin-import@^2.22.1 \
eslint-plugin-prettier@^3.3.0 \
eslint-plugin-simple-import-sort@^7.0.0 \
prettier@^2.2.1 \
prettier-eslint@12.0.0 \
--dev
{
"extends": "@sajari/eslint-config/base"
}
Add "extends": "@sajari/eslint-config"
to your ESLint config file.
If you don't need React support, add "extends": "@sajari/eslint-config/base"
instead.
An example .eslintrc.js:
module.exports = {
extends: ["@sajari/eslint-config"],
};
This config requires knowledge of your TypeScript config.
In your ESLint config, set parserOptions.project to the path of your tsconfig.json
.
For example:
module.exports = {
extends: ['@sajari/eslint-config'],
+ parserOptions: {
+ project: './tsconfig.json',
+ }
};
FAQs
A ESLint configuration for use in Sajari TypeScript projects.
The npm package @sajari/eslint-config receives a total of 9 weekly downloads. As such, @sajari/eslint-config popularity was classified as not popular.
We found that @sajari/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.