Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
tslint-to-eslint-config
Advanced tools
Converts your TSLint configuration to the closest possible ESLint equivalent.
Converts your TSLint configuration to the closest possible ESLint equivalent.
👉 Did you know TSLint is being deprecated this year?
Hooray!
Use tslint-to-eslint-config
to expedite migrating your project onto ESLint.
Consider taking a peek at the relevant documentation: 🤔
npx tslint-to-eslint-config
⚡ (wow, so simple!) ⚡
The tslint-to-eslint-config
command reads in any existing linter, TypeScript, and package configuration files, then creates an .eslintrc.js
result based on them.
For any TSLint rules with corresponding ESLint equivalents, those equivalents will be used in the new configuration. TSLint rules without ESLint equivalents will be wrapped with eslint-plugin-tslint.
Each of these flags is optional.
config
: Path to print the generated ESLint configuration file to.eslint
: Path to an ESLint configuration file to read settings from.package
: Path to a package.json file to read dependencies from.tslint
: Path to a TSLint configuration file to read settings from.typescript
: Path to a TypeScript configuration file to read TypeScript compiler options from.config
npx tslint-to-eslint-config --config .eslintrc.json
Default: .eslintrc.js
Path to print the generated ESLint configuration file to.
The file extension of this path will be used to determine the format of the created file:
.js
file paths will be written module.exports = ...
JavaScripteslint
npx tslint-to-eslint-config --eslint ./path/to/eslintrc.js
Default: --config
's value
Path to an ESLint configuration file to read settings from.
The generated ESLint configuration file will include any settings import
ed from this file.
package
npx tslint-to-eslint-config --package ./path/to/package.json
Default: package.json
Path to a package.json
file to read dependencies from.
This will help inform the generated ESLint configuration file's env settings.
tslint
npx tslint-to-eslint-config --tslint ./path/to/tslint.json
Default: tslint.json
Path to a TSLint configuration file to read settings from.
This file is piped into TSLint's --print-config
to generate the list of rules to enable in the generated ESLint configuration file.
typescript
npx tslint-to-eslint-config --typescript ./path/to/tsconfig.json
Default: tsconfig.json
Path to a TypeScript configuration file to read TypeScript compiler options from. This will help inform the generated ESLint configuration file's env settings.
See the Code of Conduct and general development docs. 💖
FAQs
Converts your TSLint configuration to the closest reasonable ESLint equivalent.
We found that tslint-to-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
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.