
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@debitoor/eslint-config-debitoor
Advanced tools
Defines global linting rules for all debitoor projects
Defines global linting rules for all debitoor projects
npm i -DE mocha-eslint @debitoor/eslint-config-debitoor
echo "require('mocha-eslint')(['.']);" > test/eslint.spec.js
echo "module.exports = {'extends': '@debitoor/eslint-config-debitoor'};" > .eslintrc.js
git add test/eslint.spec.js .eslintrc.js
or add a .eslintrc.js
file in the root of your project and extended it with the default config:
module.exports = {
'extends': '@debitoor/eslint-config-debitoor'
};
If you are using babel, you need to add 'parser': 'babel-eslint'
to .eslintrc.js
:
module.exports = {
extends: '@debitoor/eslint-config-debitoor',
parser: 'babel-eslint'
};
Install mocha-eslint:
npm install -DE mocha-eslint
and add a spec file eslint.spec.js
in your test folder where you indicate which folders should be checked for linting:
require('mocha-eslint')(['.']);
or
require('mocha-eslint')([
'config',
'source',
'test'
]);
./node_modules/.bin/eslint . --fix
FAQs
Defines global linting rules for all debitoor projects
The npm package @debitoor/eslint-config-debitoor receives a total of 376 weekly downloads. As such, @debitoor/eslint-config-debitoor popularity was classified as not popular.
We found that @debitoor/eslint-config-debitoor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 34 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.