0.0.3 • Published 3 years ago
@liutsing/eslint-config-typescript v0.0.3
@liutsing/eslint-config-typescript
eslint config used by
TypeScriptapp of MapleImage
Usage
npm install @liutsing/eslint-config-typescript -DTypeScript project
- Create a
.eslintrc.jsconfiguration file in the root of your project with the following content:
module.exports = {
extends: '@liutsing/eslint-config-typescript',
}- Run eslint on all the ts files etc in your project:
npx eslint . --ext .tsVue3 + TypeScript projects
- Create a
.eslintrc.cjsconfiguration file in the root of your project with the following content:
module.exports = {
extends: '@liutsing/eslint-config-typescript',
}- Run eslint on all the SCSS files etc in your project:
npx eslint . --ext .ts