
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@hypernym/eslint-config
Advanced tools
Hypernym's internal config for ESLint.
Repository ✦ Package ✦ Releases ✦ Discussions
pnpm add -D @hypernym/eslint-config
Add lint
commands for manual linting (optional):
// package.json
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint --fix ."
}
}
// eslint.config.mjs
import { defineConfig, jsConfig, ignoresConfig } from '@hypernym/eslint-config'
export default defineConfig([jsConfig, ignoresConfig])
// eslint.config.mjs
import {
defineConfig,
jsConfig,
tsConfig,
ignoresConfig,
} from '@hypernym/eslint-config'
export default defineConfig([jsConfig, tsConfig, ignoresConfig])
[!NOTE]
Install the required
Svelte
dependencies before using:pnpm add -D eslint-plugin-svelte svelte-eslint-parser
Also, don't forget to add the
svelte
lang key to theeslint.validate
vscode setting:
// .vscode/settings.json { "eslint.validate": ["javascript", "typescript", "svelte"] }
// eslint.config.mjs
import {
defineConfig,
jsConfig,
tsConfig,
ignoresConfig,
} from '@hypernym/eslint-config'
import { svelteConfig } from '@hypernym/eslint-config/svelte'
export default defineConfig([jsConfig, tsConfig, svelteConfig, ignoresConfig])
[!NOTE]
Install the required
Vue
dependencies before using:pnpm add -D eslint-plugin-vue vue-eslint-parser
Also, don't forget to add the
vue
lang key to theeslint.validate
vscode setting:
// .vscode/settings.json { "eslint.validate": ["javascript", "typescript", "vue"] }
// eslint.config.mjs
import {
defineConfig,
jsConfig,
tsConfig,
ignoresConfig,
} from '@hypernym/eslint-config'
import { vueConfig } from '@hypernym/eslint-config/vue'
export default defineConfig([jsConfig, tsConfig, vueConfig, ignoresConfig])
[!NOTE]
Install the required
React
dependencies before using:pnpm add -D eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-refresh
Also, don't forget to add the
react
lang keys to theeslint.validate
vscode setting:
// .vscode/settings.json { "eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact"] }
// eslint.config.mjs
import { defineConfig, ignoresConfig } from '@hypernym/eslint-config'
import { jsxConfig, tsxConfig } from '@hypernym/eslint-config/react'
export default defineConfig([jsxConfig, tsxConfig, ignoresConfig])
// eslint.config.mjs
import {
defineConfig,
globalIgnores,
jsConfig,
tsConfig,
ignores,
} from '@hypernym/eslint-config'
export default defineConfig([
jsConfig,
tsConfig,
{
files: tsConfig.files,
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{ ignoreRestSiblings: true },
],
},
},
globalIgnores([...ignores, '**/dir/']),
])
For more info on how to ignore files
, see the official docs.
Developed in 🇭🇷 Croatia, © Hypernym Studio.
Released under the MIT license.
FAQs
Hypernym's internal config for ESLint.
We found that @hypernym/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.