添加 tslint 和项目规范
Showing
.stylelintrc.js
0 → 100644
... | ... | @@ -20,7 +20,9 @@ |
"dev:alipay": "npm run build:alipay -- --watch", | ||
"dev:tt": "npm run build:tt -- --watch", | ||
"dev:h5": "npm run build:h5 -- --watch", | ||
"dev:rn": "npm run build:rn -- --watch" | ||
"dev:rn": "npm run build:rn -- --watch", | ||
"lint": "tslint --project ./tsconfig.json && stylelint \"./src/**/*.less\"", | ||
"precommit": "npm run lint" | ||
}, | ||
"author": "", | ||
"license": "MIT", | ||
... | ... | @@ -71,8 +73,11 @@ |
"eslint-plugin-react-hooks": "^1.6.1", | ||
"eslint-plugin-taro": "1.3.12", | ||
"stylelint": "9.3.0", | ||
"stylelint-config-standard": "^18.3.0", | ||
"stylelint-config-taro-rn": "1.3.12", | ||
"stylelint-taro-rn": "1.3.12", | ||
"tslint": "^5.18.0", | ||
"tslint-react": "^4.0.0", | ||
"typescript": "^3.0.1" | ||
} | ||
} |
tslint.json
0 → 100644
yarn-error.log
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
yarn.lock
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
Please
register
or
sign in
to comment