https://github.com/abdus/nextjs-eslint-typescript-template
start a Next.js project quickly. have support for TypeScript and ESLint
https://github.com/abdus/nextjs-eslint-typescript-template
eslint next nextjs-boilerplate template typescript
Last synced: 3 months ago
JSON representation
start a Next.js project quickly. have support for TypeScript and ESLint
- Host: GitHub
- URL: https://github.com/abdus/nextjs-eslint-typescript-template
- Owner: abdus
- License: mit
- Created: 2021-06-14T13:02:28.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-25T08:55:14.000Z (over 4 years ago)
- Last Synced: 2025-08-25T18:48:09.490Z (10 months ago)
- Topics: eslint, next, nextjs-boilerplate, template, typescript
- Language: CSS
- Homepage:
- Size: 149 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Next.js TypeScript Template
> A template for quickly starting a Next.js-based project.
## Features
1. TypeScript-enabled. Check out the [TypeScript](./tsconfig.json)
configuration
2. ESLint-enabled
3. a grid-based Default Layout
4. Switch between dark and light themes
5. Loader
## ESLint Rules
- Style Guide: `airbnb-typescript`
- `no-use-before-define`: `off`,
- `@typescript-eslint/no-use-before-define`: `[error]`,
- `react/jsx-filename-extension`: `[1, { extensions: [".tsx"] }]`,
- `import/no-default-export`: `[2]`,
- `import/prefer-default-export`: `off`,
- `react/jsx-props-no-spreading`: `off`,
- `react/destructuring-assignment`: `[1, never]`
## Helper Scripts
- to generate a new component, run `yarn gc component-name`