
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@namchee/eslint-config
Advanced tools
My personal ESLint configuration. Fits for most JS / TS projects.
Personal and opinionated ESLint shareable configuration. Uses ESLint Stylistic, why?.
Install this config with your favorite package manager:
# using npm
npm install @namchee/eslint-config -D
# using yarn
yarn add @namchee/eslint-config -D
# using pnpm
pnpm add @namchee/eslint-config -D
# using bun
bun add @namchee/eslint-config -D
Since the introduction of ESLint flat config, this config uses flat config for the latest package
@namchee/eslint-config
. For legacy config, please installeslint-config-namchee
instead.
To use the ESLint configuration, you can extend your configuration by importing the config directly:
// with "type": "module" in package.json
import config from '@namchee/eslint-config';
export default [...config];
// without "type": "module" in package.json
const config = require('@namchee/eslint-config');
module.exports = [...config];
For legacy config, you can extend the config by specifying it using the
extends
keyword:
module.exports = { extends: ['eslint-config-namchee'], // or 'namchee' for short }
If you're using VSCode, use the following settings for maximum DX with this configuration
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.experimental.useFlatConfig": true,
"eslint.format.enable": true,
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
{ "rule": "*-order", "severity": "off" },
{ "rule": "*-dangle", "severity": "off" },
{ "rule": "*-newline", "severity": "off" },
{ "rule": "*quotes", "severity": "off" },
{ "rule": "*semi", "severity": "off" }
],
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"json",
"jsonc",
"yaml"
],
"prettier.enable": false
}
.js
, .mjs
, .cjs
, .jsx
.ts
, .mts
, .tsx
.json
, .json5
, .jsonc
.yaml
, .yml
This project is licensed under the MIT License
FAQs
My personal ESLint configuration. Fits for most JS / TS projects.
The npm package @namchee/eslint-config receives a total of 86 weekly downloads. As such, @namchee/eslint-config popularity was classified as not popular.
We found that @namchee/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.