ESLint Shareable Configs for Kwebbl projects
Check ESLint configuring to see config options you have.
- node.js 4.* :
kwebbl/lib/node4
- node.js 6.* :
kwebbl/lib/node
- browser app :
kwebbl/lib/browser
- react app :
kwebbl/lib/react
- Install eslint or/and use one of integrations for your favorite code editor.
- Install kwebbl configs:
npm i eslint-config-kwebbl --save-dev`
- Create config file in root of your project
.eslintrc.js
or in other formats. And extend in it one of config more suitable for your project.
module.exports = {
"extends": "kwebbl/lib/node4",
}
- Good to go. Use eslint by running it in cli or as plugin in your editor.