How to extend airbnb eslint but with warnings instead of errors?
Approach #1 adjust specific rules in .eslintrc
:
{
"extends": "airbnb"
"rules": {
"camelcase": "warn",
...
}
}
see Configuring Rules
Approach #2 adjust eslint-loader
to emit warnings instead of errors for all rules:
{
...
loader: "eslint-loader",
options: {
emitWarning: true,
}
}
see Errors and Warning