Complexity Score
Low
Open Issues
10
Dependent Projects
447
Weekly Downloadsglobal
141,781
Keywords
License
- MIT
- Yesattribution
- Permissivelinking
- Permissivedistribution
- Permissivemodification
- Nopatent grant
- Yesprivate use
- Permissivesublicensing
- Notrademark grant
Downloads
Readme
eslint-config-xo-typescript
ESLint shareable config for TypeScript
This config also includes eslint-config-xo.
This config assumes your project is ESM and that you use a strict config.
Install
npm install --save-dev eslint-config-xo-typescript
Use with XO
XO has built-in support for TypeScript, using this package under the hood, so you do not have to configure anything.
Standalone Usage
Add some ESLint config to your package.json (or .eslintrc
):
// eslint.config.js
import xoTypeScript from 'eslint-config-xo-typescript';
export default [
...xoTypeScript,
];
Use the space
sub-config if you want 2 space indentation instead of tabs:
import xoTypeScriptSpace from 'eslint-config-xo-typescript/space';
export default [
...xoTypeScriptSpace,
];
Related
- XO
Dependencies
Loading dependencies...
CVE IssuesActive
0
Scorecards Score
3.50
Test Coverage
No Data
Follows Semver
Yes
Github Stars
171
Dependenciestotal
6
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No
Learn how to distribute eslint-config-xo-typescript in your own private NPM registry
$npm config set registry
https://npm.cloudsmith.com/owner/repo
/Processing...
✓Done
$npm install eslint-config-xo-typescript
/Processing...
✓Done
Releases
Loading Version Data
NPM on Cloudsmith