For more details, see the changelog
Update your kyt dependency to 0.4.0
and reinstall your dependencies.
- If you are running a react app, install babel-preset-kyt-react:
$ npm install --save-dev babel-preset-kyt-react
- Create
.babelrc
file with the kyt presets:
{
"presets": ["babel-preset-kyt-react"],
"plugins": []
}
- Remove any presets or plugins from your
kyt.config.js
and add them to.babelrc
.
In your .eslintrc.json:
"extends": [
"eslint-config-kyt"
]
Read about the eslint rules kyt uses here.
In your .stylelintrc:
"extends": "stylelint-config-kyt"
Read about the stylelint rules kyt uses here.
Update pacakge.json scripts to reflect the updated and deprecated commands.
npm run lint
:kyt lint-script
npm run start
:node build/server/main.js