summaryrefslogtreecommitdiffstats
path: root/node_modules/object-inspect/.eslintrc
diff options
context:
space:
mode:
authorGravatar Piotr Russ <mail@pruss.it> 2020-11-16 00:10:28 +0100
committerGravatar Piotr Russ <mail@pruss.it> 2020-11-16 00:10:28 +0100
commite06ec920f7a5d784e674c4c4b4e6d1da3dc7391d (patch)
tree55713f725f77b44ebfec86e4eec3ce33e71458ca /node_modules/object-inspect/.eslintrc
downloadwebsite_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.gz
website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.bz2
website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.zip
api, login, auth
Diffstat (limited to 'node_modules/object-inspect/.eslintrc')
-rw-r--r--node_modules/object-inspect/.eslintrc64
1 files changed, 64 insertions, 0 deletions
diff --git a/node_modules/object-inspect/.eslintrc b/node_modules/object-inspect/.eslintrc
new file mode 100644
index 0000000..6ba656a
--- /dev/null
+++ b/node_modules/object-inspect/.eslintrc
@@ -0,0 +1,64 @@
+{
+ "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": [2, 100],
+ "max-statements-per-line": [2, { "max": 2 }],
+ "no-magic-numbers": 0,
+ "no-param-reassign": 1,
+ "operator-linebreak": [2, "before"],
+ "strict": 0, // TODO
+ },
+ "globals": {
+ "BigInt": false,
+ "WeakSet": false,
+ "WeakMap": false,
+ },
+ "overrides": [
+ {
+ "files": ["test/**", "test-*", "example/**"],
+ "rules": {
+ "array-bracket-newline": 0,
+ "id-length": 0,
+ "max-params": 0,
+ "max-statements": 0,
+ "max-statements-per-line": 0,
+ "object-curly-newline": 0,
+ "sort-keys": 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,
+ },
+ },
+ ],
+}