
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.
@strv/eslint-config-typescript
Advanced tools
Configuration for TypeScript projects.
npm install -D @strv/eslint-config-typescript
'@strv/eslint-config-typescript'
: A generic ruleset that focuses on code correctness'@strv/eslint-config-typescript/optional'
: Addiitonal ruleset that might provide useful tips and hints how to improve your code'@strv/eslint-config-typescript/style'
: Ruleset that focuses solely on code style (indentation, spacing, naming, syntax preference etc.)'@strv/eslint-config-typescript/react'
: Ruleset that provides additional customisations for the @strv/eslint-config-react
ruleset when working with TypeScript`// eslint.config.mjs
import typescript from '@strv/eslint-config-typescript'
import optional from '@strv/eslint-config-typescript/optional'
import style from '@strv/eslint-config-typescript/style'
// Just to help us re-use the same globs multiple times
const globs = {
js: '**/*.js',
}
/** @type {Array<import("eslint").Linter.FlatConfig>} */
const config = [
{ files: [globs.js], ...typescript },
{ files: [globs.js], ...optional },
{ files: [globs.js], ...style },
// Any custom settings to be applied
{ files: [globs.js],
languageOptions: { ecmaVersion: 2023 }
},
]
export default config
See the LICENSE file for information.
FAQs
STRV's ESLint config for TypeScript projects
The npm package @strv/eslint-config-typescript receives a total of 475 weekly downloads. As such, @strv/eslint-config-typescript popularity was classified as not popular.
We found that @strv/eslint-config-typescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.