Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

jubilee-works/eslint-config-timetree

Repository files navigation

eslint-config-timetree

npm version

A sharable ESLint config for TimeTree. This is intended to use at a project for React + TypeScript + Prettier.

Install

npm i --save-dev eslint prettier typescript react // install peerDependencies
npm i --save-dev eslint-config-timetree

yarn add --dev eslint prettier typescript react // install peerDependencies
yarn add --dev eslint-config-timetree

How to use

Add a following .eslintrc.js in your project.

module.exports = {
  extends: ["timetree"]
}

or

module.exports = {
  extends: ["timetree/react"]
}

If your project is not React based, you can use base config.

module.exports = {
  extends: ["timetree/base"]
}

Run eslint!

npx eslint src

If you want to lint TypeScript files including .tsx, you can use --ext option ESLint has.

npx eslint --ext .ts,.tsx src

About

A sharable ESLint config for TimeTree

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7