0.5.1 • Published 6 years ago
eslint-config-hlj-merchant v0.5.1
Installation
yarn add -D eslint eslint-config-hlj-merchant
Usage
Recommend usage
// in your webpack config
{
module: {
rules: [
{
test: /\.jsx?$/,
use: [
{
options: {
baseConfig: {
extends: ['eslint-config-hlj-merchant']
},
ignore: false,
useEslintrc: false
},
loader: 'eslint-loader'
}
],
enforce: 'pre'
}
]
}
}
or
{
"extends": "hlj-merchant",
"rules": {
// if you want to override
}
}