# @digital-natives/eslint-config-digitalnatives-typescript-base

> Digital Natives Base ESLint and Prettier Config with Typescript

Latest version **0.0.11** (published 2020-08-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @digital-natives/eslint-config-digitalnatives-typescript-base
pnpm add @digital-natives/eslint-config-digitalnatives-typescript-base
yarn add @digital-natives/eslint-config-digitalnatives-typescript-base
bun add @digital-natives/eslint-config-digitalnatives-typescript-base
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.11 |
| Published | 2020-08-26 |
| First published | 2020-07-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 13.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | adrianfarkas, matyi, murielsilveira, raglopa |

## Links

- npm: https://www.npmjs.com/package/@digital-natives/eslint-config-digitalnatives-typescript-base
- Repository: https://github.com/digitalnatives/eslint-config-digitalnatives
- Homepage: https://github.com/digitalnatives/eslint-config-digitalnatives#readme
- Issues: https://github.com/digitalnatives/eslint-config-digitalnatives/issues
- npm.io page: https://npm.io/package/@digital-natives/eslint-config-digitalnatives-typescript-base

## Dependencies (1)

- [eslint-config-airbnb-base](https://npm.io/package/eslint-config-airbnb-base.md) ^14.2.0

## Recent versions

- 0.0.11 (latest) — 2020-08-26
- 0.0.10 — 2020-08-26
- 0.0.9 — 2020-08-14
- 0.0.8 — 2020-08-14
- 0.0.7 — 2020-08-14
- 0.0.6 — 2020-08-14
- 0.0.5 — 2020-08-14
- 0.0.4 — 2020-08-14
- 0.0.3 — 2020-07-13
- 0.0.1 — 2020-07-13
- 0.0.0 — 2020-07-09

## README

# Digital Natives Base ESLint and Prettier Config

## Usage

1. Install the dependencies with

```bash
npx install-peerdeps --dev @digital-natives/eslint-config-digitalnatives-typescript-base
```

If you use yarn, run

```bash
npm info @digital-natives/eslint-config-digitalnatives-typescript-base@latest peerDependencies
```

then run `yarn add --dev <dependency>@<version>` for each listed peer dependency.

2. Create a `.eslintrc` file in the root directory and add

```json
{
  "extends": "@digital-natives/digitalnatives-typescript-base",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}
```

Add these scripts in the `package.json` file

```json
"scripts": {
    "lint": "eslint . --ext .js,.ts",
    "lint:fix": "eslint --fix . --ext .js,.ts"
},
```

## VSCode configuration

1.  Install [ESLint package](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
2.  Add these to your VSCode settings file

```json
 "editor.formatOnSave": true,
 "[javascript]": {
   "editor.formatOnSave": false
 },
 "[typescript]": {
   "editor.formatOnSave": false
 },
 "editor.codeActionsOnSave": {
   "source.fixAll": true
 },
 "prettier.disableLanguages": [
    "javascript",
    "typescript",
  ],
```

---
_Source: https://npm.io/package/@digital-natives/eslint-config-digitalnatives-typescript-base · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
