- Install Node.js
- Install Git
- Install Yarn
- Install ESLint
- Open a Terminal and type:
git clone https://github.com/rainerbez/eslint-typescript
- Proceed into the downloaded repository:
cd eslint-typescript
- Install all the necessary node modules:
yarn install
index.html
src/index.ts
-
To Lint only:
yarn eslint
-
To lint and compile type:
yarn compile
-
To watch for changes (without Linting):
yarn compile:watch
-
In a Browser:
yarn start
-
Directly in a Terminal using:
node dist/index.js