Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@swimlane/eslint-config
Advanced tools
Rules for eslint used in Swimlane's Javascript (etc) development.
Install:
npm install --save-dev eslint @swimlane/eslint-config eslint-plugin-security
Create an .eslintrc.yml file with the following:
env:
browser: true
commonjs: true
es2021: true
extends:
- '@swimlane'
parserOptions:
ecmaVersion: 12
Install:
npm install --save-dev eslint @swimlane/eslint-config eslint-plugin-security
npm install --save-dev @typescript-eslint/parser @typescript-eslint/eslint-plugin
Create an .eslintrc.yml
file with the following:
env:
browser: true
es2021: true
node: true
extends:
- '@swimlane/eslint-config/typescript'
parserOptions:
ecmaVersion: 12
sourceType: module
If using prettier (for example @swimlane/prettier-config-swimlane) you should follow instructions in the eslint-config-prettier readme to install and setup eslint-config-prettier
. For example for es6 config your
.eslintrc.yml
file will be:
env:
browser: true
commonjs: true
es2021: true
extends:
- '@swimlane'
- 'prettier'
parserOptions:
ecmaVersion: 12
Major (new linting errors)
Minor (same or fewer linting errors)
Patch (non-user-facing changes)
@swimlane/eslint-config
is a Swimlane open-source project; we
believe in giving back to the open-source community by sharing some of the
projects we build.
Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.
2.0.0 (2021-01-13)
@typescript-eslint/naming-convention
@typescript-eslint/no-shadow
@typescript-eslint/no-non-null-assertion
security/detect-non-literal-fs-filename
FAQs
Linting rules for Javascript
The npm package @swimlane/eslint-config receives a total of 814 weekly downloads. As such, @swimlane/eslint-config popularity was classified as not popular.
We found that @swimlane/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 40 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
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.