npm.io
0.0.3 • Published 4 years ago

@liutsing/eslint-config-typescript

Licence
MIT
Version
0.0.3
Deps
23
Size
9 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

@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