1.0.3 • Published 6 years ago
@sorarem/spec v1.0.3
Intro
angular specification
Installation
yarn add --dev 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