aboutsummaryrefslogtreecommitdiffstats
path: root/src/.eslintrc.json
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-05-05 14:30:14 +0200
committerGitHub <noreply@github.com>2020-05-05 14:30:14 +0200
commit55cd3a44368d529326b6d9b16ff7c0204fee5516 (patch)
tree99da74013ccf0aedc382d15dcbbf9cac21d45d66 /src/.eslintrc.json
parent297d18dd13f7b810ea5a4afeefa4cb15d9e16e16 (diff)
downloadjquery-55cd3a44368d529326b6d9b16ff7c0204fee5516.tar.gz
jquery-55cd3a44368d529326b6d9b16ff7c0204fee5516.zip
Build: Followups after introducing ES modules compiled via Rollup
This commit cleans up a few comments & configurations that are out of date after the migration to ES modules backed by a Rollup-based compilation. Also, de-indent AMD modules. This will preserve a more similar structure to the one on 3.x-stable where the body of the main `define` wrapper is not indented. Closes gh-4705
Diffstat (limited to 'src/.eslintrc.json')
-rw-r--r--src/.eslintrc.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/.eslintrc.json b/src/.eslintrc.json
index 0c1f3f8a7..8b0b90f16 100644
--- a/src/.eslintrc.json
+++ b/src/.eslintrc.json
@@ -34,7 +34,7 @@
// Code Style. This makes that indentation check is not
// performed for 1 depth of outer FunctionExpressions
"ignoredNodes": [
- "Program > ExpressionStatement > CallExpression > FunctionExpression > *"
+ "Program > ExpressionStatement > CallExpression > :last-child > *"
]
} ]
},