js-waku/packages/build-utils/.eslintrc.cjs

25 lines
496 B
JavaScript
Raw Normal View History

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"
}
};