Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.49 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.49 KB

Boilerplate for NPM projects

Boilerplate for new projects using NPM.

I avoid other boilerplates such as create-react-app when possible. When something inevitably breaks, it's hard to know why and I am left none-the-wiser.

React

React support is pre-wired in the configuration for Babel, ESLint, and Jest but not included as a dependency. The aim is to be compatible with both React and non-React projects.

Babel

ESLint

  • Using eslint:recommended, along with AirBnB rules.
  • Using most plugins recommended in community configs.
  • ESLint assumes a browser environment with ES6, not a node or web extension environment. Modify .eslintrc.js for other environments.

TypeScript

Testing