Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
eslint-config-jhipster
Advanced tools
Provides JHipster ESLint shareable configurations for Javascript applications
Provides JHipster ESLint shareable configurations used in the JHispter frontend Typescript/Javascript applications.
It contains frontend framework-agnostic base set of eslint rules. These rules help us to deliver consistent code quality across different frontend framework implementations supported by JHipster.
To keep consistent code quality across different implementations, JHipster shareable configuration extends the following set of recommended ESLint
and Typescript
configurations. JHipster uses prettier
to keep consistent code formatting.
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'prettier',
'prettier/@typescript-eslint',
'eslint-config-prettier'
In addition to the recommended set of configurations, JHipster overrides following rules.
'@typescript-eslint/member-ordering': [
'error',
{
default: [
'static-field',
'instance-field',
'constructor',
'static-method',
'instance-method'
]
}
],
'@typescript-eslint/no-parameter-properties': [
'warn',
{ allows: ['public', 'private', 'protected'] }
],
'@typescript-eslint/no-unused-vars': [
'warn',
{
vars: 'all',
args: 'none',
ignoreRestSiblings: false
}
],
'@typescript-eslint/explicit-member-accessibility': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/unbound-method': 'off',
'spaced-comment': ['warn', 'always'],
'guard-for-in': 'error',
'no-labels': 'error',
'no-caller': 'error',
'no-bitwise': 'error',
'no-console': ['error', { allow: ['warn', 'error'] }],
'no-new-wrappers': 'error',
'no-eval': 'error',
'no-shadow': 'error',
'no-new': 'error',
'no-var': 'error',
radix: 'error',
eqeqeq: ['error', 'always', { null: 'ignore' }],
'prefer-const': 'error',
'object-shorthand': ['error', 'always', { avoidExplicitReturnArrows: true }]
Apache-2.0 © Vishal Mahajan
FAQs
Provides JHipster ESLint shareable configurations for Javascript applications
The npm package eslint-config-jhipster receives a total of 1,819 weekly downloads. As such, eslint-config-jhipster popularity was classified as popular.
We found that eslint-config-jhipster 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.