@petkit/spec
v2.0.2
Published
petkit project specification
Downloads
24
Readme
Petkit specification project
Installation
yarn add --dev @petkit/specUsage
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 .stylelintrcJS
./.eslintrc
yarn add --dev eslint babel-eslint
# normal
cp ./node_modules/@petkit/spec/rc/js/.eslintrc .eslintrc
# react
yarn add --dev [email protected]
cp ./node_modules/@petkit/spec/rc/js/.eslintrc-react .eslintrc