
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
@chronoverse-eslint/typescript
Advanced tools
Comprehensive ESLint configuration for TypeScript projects focusing on type safety, code quality, and best practices
npm install -D @chronoverse-eslint/typescript eslint
Or using alternative package managers:
yarn add -D @chronoverse-eslint/typescript eslint
pnpm add -D @chronoverse-eslint/typescript eslint
bun add -D @chronoverse-eslint/typescript eslint
Add to your eslint.config.js
:
import { typescript } from '@chronoverse-eslint/typescript/typescript-base';
const eslintConfig = [
...typescript,
];
export default eslintConfig
Or with defineConfig
:
import { typescript } from '@chronoverse-eslint/typescript/typescript-base';
import { defineConfig } from 'eslint/config';
const eslintConfig = defineConfig(typescript);
export default eslintConfig;
const eslintConfig = defineConfig([
typescript,
]);
export default eslintConfig;
Or only-rules
:
import { consistentRules } from '@chronoverse-eslint/typescript/consistent-rules';
import { extensionRules } from '@chronoverse-eslint/typescript/extension-rules';
import { tsSafeRules } from '@chronoverse-eslint/typescript/safe-rules';
import { tsdocRules } from '@chronoverse-eslint/typescript/tsdoc-rules';
import { typescriptRules } from '@chronoverse-eslint/typescript/typescript-rules';
import { typescriptTypeCheckRules } from '@chronoverse-eslint/typescript/typescript-type-check-rules';
import { defineConfig } from 'eslint/config';
const eslintConfig = defineConfig([
{
rules: {
...consistentRules,
...extensionRules,
...tsSafeRules,
...tsdocRules,
...typescriptRules,
...typescriptTypeCheckRules,
},
},
]);
export default eslintConfig;
MIT © Chronoverse
FAQs
Comprehensive ESLint configuration for TypeScript projects focusing on type safety, code quality, and best practices
We found that @chronoverse-eslint/typescript 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
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.