Etiqa JavaScript ES6 Styles configuration for ESLint.
$ npm install eslint-config-etiqa --save-dev
ESLint configuration
{
"extends": "etiqa"
}
eslint-loader will search configuration in
.eslintrc
file at the root of the projecteslintConfig
property inside package.json
Example: package.json
{
"eslintConfig": {
"extends": "etiqa"
}
}
In your webpack configuration
module.exports = {
// ...
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
loader: "eslint-loader",
options: {
extends: "etiqa"
}
},
],
},
// ...
}