
Security News
Google’s OSV Fix Just Added 500+ New Advisories — All Thanks to One Small Policy Change
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
@echristian/eslint-config
Advanced tools
A modern and opinionated ESLint configuration with TypeScript, JSX, CSS, and Markdown support.
Using npm:
npm install -D @echristian/eslint-config eslint
Using yarn:
yarn add -D @echristian/eslint-config eslint
Using pnpm:
pnpm add -D @echristian/eslint-config eslint
Create an eslint.config.js
file in your project root:
import eslintConfig from "@echristian/eslint-config";
export default eslintConfig({
// Configuration options here
});
The configuration function accepts an options object with the following structure:
interface ESLintConfigOptions {
// Glob patterns to ignore
ignores?: Array<string>;
// TypeScript configuration
typescript?: {
options?: {
typeChecked?: boolean; // defaults to true
};
};
// React configuration
react?: {
enabled?: boolean; // defaults to false
options?: {
typeChecked?: boolean; // defaults to true
};
};
// React Hooks configuration
reactHooks?: {
enabled: boolean; // defaults to false
};
// JSX configuration
jsx?: {
enabled?: boolean; // defaults to false
a11y?: boolean; // defaults to true
};
// Markdown configuration
markdown?: {
enabled?: boolean; // defaults to false
options?: {
language?: "commonmark" | "gfm"; // defaults to "gfm"
frontMatter?: "yaml" | "toml" | "json" | false; // defaults to false
};
};
// Prettier configuration
prettier?: {
experimentalOperatorPosition?: "start" | "end";
experimentalTernaries?: boolean;
semi?: boolean;
// More prettier config
};
// Package.json rules configuration
packageJson?: {
package?: boolean; // defaults to false
};
}
import eslintConfig from "@echristian/eslint-config";
export default eslintConfig({
ignores: ["dist/"],
});
import eslintConfig from "@echristian/eslint-config";
export default eslintConfig({
typescript: {
options: {
typeChecked: false,
},
},
});
import eslintConfig from "@echristian/eslint-config";
export default eslintConfig({
react: {
enabled: true,
},
reactHooks: {
enabled: true,
},
jsx: {
enabled: true,
},
});
import eslintConfig from "@echristian/eslint-config";
export default eslintConfig({
ignores: ["dist/", "build/"],
react: {
enabled: true,
},
reactHooks: {
enabled: true,
},
jsx: {
enabled: true,
},
css: {
enabled: true,
},
});
import eslintConfig from "@echristian/eslint-config";
export default eslintConfig({
markdown: {
enabled: true,
options: {
language: "gfm", // GitHub Flavored Markdown
frontMatter: "yaml", // Enable YAML frontmatter support
},
},
});
import eslintConfig from "@echristian/eslint-config";
export default eslintConfig({
ignores: ["dist/", "build/"],
react: {
enabled: true,
},
reactHooks: {
enabled: true,
},
jsx: {
enabled: true,
},
markdown: {
enabled: true,
options: {
language: "gfm",
frontMatter: "yaml",
},
},
});
This config includes the following major dependencies:
@eslint/js
: Core ESLint rules@eslint/json
: JSON support@eslint/css
: CSS support@eslint/markdown
: Markdown supporttypescript-eslint
: TypeScript support@stylistic/eslint-plugin
: Style-related ruleseslint-plugin-unused-imports
: Unused imports managementeslint-plugin-perfectionist
: Additional best practiceseslint-plugin-prettier
: Prettier integrationeslint-plugin-regexp
: Regular expression lintingeslint-plugin-de-morgan
: Logical expression optimizationeslint-plugin-package-json
: Package.json validationeslint-plugin-react-hooks
: React Hooks linting rules@eslint-react/eslint-plugin
: React component lintingMIT - See LICENSE for more information.
FAQs
ericc-ch ESLint config
The npm package @echristian/eslint-config receives a total of 362 weekly downloads. As such, @echristian/eslint-config popularity was classified as not popular.
We found that @echristian/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
Research
/Security News
175 malicious npm packages (26k+ downloads) used unpkg CDN to host redirect scripts for a credential-phishing campaign targeting 135+ organizations worldwide.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.