@petkit/spec
2.0.2 • Public • Published
Petkit specification project
Installation
yarn add --dev @petkit/spec
Usage
Angular
./tsconfig.json
cp ./node_modules/@petkit/spec/rc/ng-usage/tsconfig.json tsconfig.json
./tslint.json
cp ./node_modules/@petkit/spec/rc/ng-usage/tslint.json tslint.json
./htmlhintrc
cp ./node_modules/@petkit/spec/rc/ng/.htmlhintrc .htmlhintrc
./stylelintrc
cp ./node_modules/@petkit/spec/rc/ng-usage/.stylelintrc .stylelintrc
JS
./.eslintrc
yarn add --dev eslint babel-eslint
# normal
cp ./node_modules/@petkit/spec/rc/js/.eslintrc .eslintrc
# react
yarn add --dev eslint-config-react-app@2.1.0
cp ./node_modules/@petkit/spec/rc/js/.eslintrc-react .eslintrc
Package Sidebar
Install
Weekly Downloads