3.15.1
2.0.3
tslint ํจํค์ง์๋ typescript 1.8.10์ด ํ์ํ๊ณ ๋ค๋ฅธ ํจํค์ง(gulp-typescript)์๋ typescript ๋ฒ์ 2 ์ด์์ด ํ์ํฉ๋๋ค.
์ด๋ก ์ธํด ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
`-- UNMET ํผ์ด ์ข
์์ฑ [email protected]
npm ์
๋ฐ์ดํธ๋ฅผ ์คํํ ๋.
ํ์ํ typescript ๋ฒ์ ์ ๋ ๊ตฌ์ฒด์ ์ผ๋ก ๋ง๋ค๊ฑฐ๋ typescript 2 ์ด์๊ณผ ํธํ๋๋๋ก ์ ๋ฐ์ดํธํ ์ ์์ต๋๊น?
ํผ์ด ์ข
์์ฑ์ ์ด๋ฏธ ๊ฝค ๊ด๋ํฉ๋๋ค. >=1.7.3
๋ฒ์ ์ ํ์ฉํฉ๋๋ค.
๋ฌธ์ ๋ ๊ฟ๊บฝ - ํ์ดํ์ ์ค์ ํผ์ด ์ข ์์ฑ ๋ฐ ๊ฟ๊บฝ ๊ฟ๊บฝ - ํ์ดํ ๋ผ์ดํฐ๊ฐ ๋ ์ต์ ์ ํ์ดํ ๋ผ์ดํฐ์ ์๋ค๋ ์ฌ์ค์ด๋ค, tslint์ ์ค์ ํผ์ด ์ข ์๋์ง ์์ต๋๋ค.
๋ค์์ gulp-typescript ์ package.json์์ ๊ฐ์ ธ์ต๋๋ค.
"peerDependencies": {
"typescript": "~2.0.3 || >=2.0.0-dev || >=2.1.0-dev"
},
๋ด๊ฐ ์ฌ๋ฐ๋ฅด๊ฒ ์ดํดํ๋ค๋ฉด ๊ทธ๋ ์ต๋๋ค.
tslint๋ฅผ ์ต์ ๋ฒ์ ์ typescript๋ก ์ ๋ฐ์ดํธํ๋ฉด ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋ ๊ฒ ๊ฐ์ต๋๊น? ์๋ง๋ tslint@next๋ฅผ ์ฌ์ฉํ ์ ์์๊น์?
๊ฐ์ฌํฉ๋๋ค SwintDC, ์ด ๋ฌธ์ ๋ npm install tslint<strong i="5">@next</strong> -g
์คํํ์ฌ ํด๊ฒฐ๋์์ต๋๋ค.