
Security News
Python Adopts Standard Lock File Format for Reproducible Installs
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
@bagaar/eslint-config
Advanced tools
@bagaar/eslint-config
is built and maintained by Bagaar.
EsLint config for Bagaar projects.
npm install @bagaar/eslint-config --save-dev
yarn add @bagaar/eslint-config --dev
pnpm add @bagaar/eslint-config --save-dev
Extend your local config with the default export of @bagaar/eslint-config
:.
// .eslintrc.js
const config = require('@bagaar/eslint-config');
module.exports = {
...config,
root: true,
};
The config
value here is just a plain JS object so it can be customised at will. The config will contain different rules based on which dependencies are present, all peerdependencies are therefore optional.
If you want to extend instead of override a property, be sure to spread the original values as well, for example:
// .eslintrc.js
const config = require('@bagaar/eslint-config');
module.exports = {
...config,
root: true,
overrides: [
...config.overrides,
{
files: ['./index.js'],
rules: {
"no-console": 'off',
}
},
]
};
To print out the generated config to the console, set the env var DEBUG=true
. e.g.:
// package.json
...
"scripts": {
"lint": "eslint . --cache",
"lint:debug": "DEBUG=true eslint .",
},
...
This project is licensed under the MIT License.
FAQs
EsLint config for Bagaar projects.
The npm package @bagaar/eslint-config receives a total of 0 weekly downloads. As such, @bagaar/eslint-config popularity was classified as not popular.
We found that @bagaar/eslint-config 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
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
Security News
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.