mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-04 06:43:12 +00:00
* add new eslint rules * remove eslint scripts for build-utils * refactor all files to fix breaking changes with new rules * add a basic eslintrc for build-utils * test * fix more linting errors * test * update package.lock * update stopping container * update px node spec * enable tests * fix: conn manager events * fix: peer exchange * increase timeout on px test
25 lines
501 B
JavaScript
25 lines
501 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",
|
|
},
|
|
};
|