
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.
eslint-config-neworbit
Advanced tools
ESLint configuration for NewOrbit
npm install eslint eslint-config-neworbit --save-dev
Add .eslintrc.json
file with the following contents:
{
"extends": [
"neworbit"
]
}
Setup a lint script in your package.json
something like this:
{
...
"scripts": {
...
"lint:typescript": "eslint \"./**/*.{ts,tsx}\""
}
}
Install the ESLint extension for VS Code
Make sure you have TypeScript files included in your settings:
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
]
If your package.json
and .eslintrc.json
files aren't in the root directory you open in VS Code you may need to add working directories in your workspace settings:
{
...
"settings": {
...
"eslint.workingDirectories": [
{
"directory": "{FOLDER_THAT_CONTAINS_CONFIG}"
}
],
}
}
For mapping TSLint rule overrides in your own project to the equivalent ESLint rules please refer to the map. If you cannot find the rule simply Google it as ESLint is plugin based and there is likely a plugin offering the required functionality.
Made with :sparkling_heart: by NewOrbit in Oxfordshire, and licensed under the MIT Licence
FAQs
NewOrbit standard typescript ready eslint configuration
The npm package eslint-config-neworbit receives a total of 517 weekly downloads. As such, eslint-config-neworbit popularity was classified as not popular.
We found that eslint-config-neworbit 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.