A shareable ESLint config for Daxko.
$ npm install --save-dev eslint eslint-config-daxko
Once installed, you will need to add daxko
in the extends property of your .eslintrc
file.
{
"extends": ["daxko"],
"rules": {
// additional rules or overrides for your project
}
}
If you're working with React, you can include additional rules by adding daxko/react
in the extends property of your .eslintrc
file. eslint-plugin-react
is required as an additional dependency.
{
"extends": ["daxko", "daxko/react"],
"rules": {
// additional rules or overrides for your project
}
}