Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
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,564 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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.