1.0.8 • Published 4 years ago

eslint-config-twgtest v1.0.8

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

ESLint (and Prettier) config

npm version NPM downloads GitHub issues Code Style Prettier MIT License Twitter Follow

These are settings for ESLint and Prettier for tests.

What it does

This setup lints your TypeScript code based on practices. Feel free to override the rules that make sense for you.

Installing

  1. In your project folder, run:
npx install-peerdeps --dev eslint-config-twgtest
  1. You will see several dependencies were installed. Now, create (or update) a .eslintrc file with the following content:
{
  "extends": "eslint-config-twgtest/typescript.js",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}
  1. Then make or update a tsconfig.json file:
{
  "extends": "eslint-config-twgtest/tsconfig.json",
  "include": [
    "**/*"
  ]
}
  1. Add prettier config @twgtest/prettier-config
1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

2.0.0-alhpa.1

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago