ESLint
is replaced with TSLint
. Stylelint
added for css/scss linting.
Config files were added:
.prettierrc
.prettierignore
.stylelintrc
.gitignore
tslint.json
Package.json scripts and dependency tree are changed to reflect the above.
Configured with:
- Typescript
- Linting with TSLint
- Formatting with Prettier
- Linting, typechecking and formatting on by default using
husky
for commit hooks - Testing with Jest and
react-testing-library
Created with this command:
npx create-next-app --ts -e https://github.com/vercel/next.js/tree/master/examples/with-typescript-eslint-jest --use-npm