mirror of https://github.com/status-im/js-waku.git
25 lines
496 B
JavaScript
25 lines
496 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parserOptions: {
|
|
ecmaVersion: 2021,
|
|
sourceType: "module"
|
|
},
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
node: true
|
|
},
|
|
extends: ["eslint:recommended"],
|
|
rules: {
|
|
indent: ["error", 2],
|
|
"linebreak-style": ["error", "unix"],
|
|
quotes: ["error", "double"],
|
|
semi: ["error", "always"],
|
|
"no-unused-vars": [
|
|
"error",
|
|
{ vars: "all", args: "after-used", ignoreRestSiblings: false }
|
|
],
|
|
"no-console": "warn"
|
|
}
|
|
};
|