1.0.0 • Published 4 years ago

node-typescript-robertojr v1.0.0

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

🔧 Features

  • TypeScript with ts-node-dev
  • tsconfig-paths
  • EditorConfig
  • ESLint
  • Prettier
  • Setting Debug
  • Jest
  • Babel

:information_source: How To Use

To clone and run this application, you'll need Git, Node.js v10.16 or higher + Yarn v1.13 or higher installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/robertokbr/TemplateTSNode.js.git

# Go into the repository
$ cd TemplateTSNode.js

# Install dependencies
$ yarn install

# Run the app
$ yarn start

🕹 Config ESLint autocorrect

  • Install ESLint VSCode integration
  • Add in settings.json

    jsx
    "[javascript]": {
    "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true,
    
     }
    },
    "[javascriptreact]":{
    "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
         }
      },
    "[typescript]":{
    "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
      }
    },
    "[typescriptreact]":{
    "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
      }
    }

:memo: License

This project is under the MIT license. See the LICENSE for more information.

Join me on :wave: Linkedin