
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
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,632 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
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.