summaryrefslogtreecommitdiff
path: root/together/node_modules/object-inspect/.eslintrc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-08-21 17:31:56 +0200
committerMinteck <contact@minteck.org>2022-08-21 17:31:56 +0200
commita2df9a69dcc14cb70118cda2ded499055e7ee358 (patch)
tree6dd283e4e9452d38bce81ddaaae49b5335755842 /together/node_modules/object-inspect/.eslintrc
parent84dd0735820b16b60f600284d35183d76547a71f (diff)
downloadpluralconnect-a2df9a69dcc14cb70118cda2ded499055e7ee358.tar.gz
pluralconnect-a2df9a69dcc14cb70118cda2ded499055e7ee358.tar.bz2
pluralconnect-a2df9a69dcc14cb70118cda2ded499055e7ee358.zip
m. update
Diffstat (limited to 'together/node_modules/object-inspect/.eslintrc')
-rw-r--r--together/node_modules/object-inspect/.eslintrc53
1 files changed, 53 insertions, 0 deletions
diff --git a/together/node_modules/object-inspect/.eslintrc b/together/node_modules/object-inspect/.eslintrc
new file mode 100644
index 0000000..21f9039
--- /dev/null
+++ b/together/node_modules/object-inspect/.eslintrc
@@ -0,0 +1,53 @@
+{
+ "root": true,
+ "extends": "@ljharb",
+ "rules": {
+ "complexity": 0,
+ "func-style": [2, "declaration"],
+ "indent": [2, 4],
+ "max-lines": 1,
+ "max-lines-per-function": 1,
+ "max-params": [2, 4],
+ "max-statements": 0,
+ "max-statements-per-line": [2, { "max": 2 }],
+ "no-magic-numbers": 0,
+ "no-param-reassign": 1,
+ "strict": 0, // TODO
+ },
+ "overrides": [
+ {
+ "files": ["test/**", "test-*", "example/**"],
+ "extends": "@ljharb/eslint-config/tests",
+ "rules": {
+ "id-length": 0,
+ },
+ },
+ {
+ "files": ["example/**"],
+ "rules": {
+ "no-console": 0,
+ },
+ },
+ {
+ "files": ["test/browser/**"],
+ "env": {
+ "browser": true,
+ },
+ },
+ {
+ "files": ["test/bigint*"],
+ "rules": {
+ "new-cap": [2, { "capIsNewExceptions": ["BigInt"] }],
+ },
+ },
+ {
+ "files": "index.js",
+ "globals": {
+ "HTMLElement": false,
+ },
+ "rules": {
+ "no-use-before-define": 1,
+ },
+ },
+ ],
+}