Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@jupiterone/eslint-config
Advanced tools
This package provides the standard JupiterOne eslint
configuration.
This configuration extends the following:
eslint:recommended
prettier
It also provides linting support for TypeScript files via
@typescript-eslint/parser
.
Install package:
yarn add @jupiterone/eslint-config --dev
For Node.js apps targeting Node.js v18:
// .eslintrc
{
"root": true,
"extends": [
"@jupiterone/eslint-config/node18"
],
"parserOptions": {
"project": "./tsconfig.json",
"tsconfigRootDir": "."
}
}
NOTE: You can also target other versions of Node.js by extending one of the following configurations:
@jupiterone/eslint-config/node14
(ECMA version 2020)@jupiterone/eslint-config/node16
(ECMA version 2021)@jupiterone/eslint-config/node18
(ECMA version 2022)An experimental React configuration is also provided:
// .eslintrc
{
"root": true,
"extends": [
"@jupiterone/eslint-config/react"
],
"parserOptions": {
"project": "./tsconfig.json",
"tsconfigRootDir": "."
}
}
This package automatically applies jest
liniting rules to the following
files:
jest.*.js
test/**/*.{ts,tsx,js,jsx}
*.test.{ts,tsx,js,jsx}
__mocks__/**/*.{ts,tsx,js,jsx}
FAQs
An opinitionated eslint config
We found that @jupiterone/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.