Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Latest commit

 

History

History
60 lines (40 loc) · 1.23 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.23 KB

npm package Dependencies

Toba Develop

Shared configurations for the development environment, including linting, code style and TypeScript compilation.

npm install @toba/develop --save-dev

TypeScript Configurations

Create tsconfig.json with

{
   "extends": "@toba/develop/tsconfig"
}

Style and Linting

eslint

Shared eslint configuration. To use, create .eslintrc with

{
   "extends": ["./node_modules/@toba/develop/.eslintrc"]
}

For standard style linting, create .stylelintrc with

{
   "plugins": ["@toba/develop/style"]
}

For standard code formatting, create prettier.config.js with

module.exports = require('@toba/develop/prettier');

License

Copyright © 2019 Jason Abbott

This software is licensed under the MIT license. See the LICENSE file accompanying this software for terms of use.