0.0.3 • Published 2 years ago

@liutsing/eslint-config-typescript v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@liutsing/eslint-config-typescript

eslint config used by TypeScript app of MapleImage

Usage

npm install @liutsing/eslint-config-typescript -D

TypeScript project

  1. Create a .eslintrc.js configuration file in the root of your project with the following content:
module.exports = {
  extends: '@liutsing/eslint-config-typescript',
}
  1. Run eslint on all the ts files etc in your project:
npx eslint . --ext .ts

Vue3 + TypeScript projects

  1. Create a .eslintrc.cjs configuration file in the root of your project with the following content:
module.exports = {
  extends: '@liutsing/eslint-config-typescript',
}
  1. Run eslint on all the SCSS files etc in your project:
npx eslint . --ext .ts