Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Update linting to use module rules

Jo Sprague7670b48b1c10
diff --git a/.eslintrc b/.eslintrc
index 82c47742f..4edb5ddde 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -5,7 +5,10 @@
},
"parserOptions": {
"ecmaVersion": 6,
- "sourceType": "script"
+ "sourceType": "module",
+ "ecmaFeatures": {
+ "jsx": false
+ }
},
"extends": "standard",
"rules": {
@@ -15,13 +18,6 @@
"overrides": [
{
"files": [ "web/**/*.js", "test/**/*.js" ],
- "parserOptions": {
- "ecmaVersion": 5,
- "sourceType": "script",
- "ecmaFeatures": {
- "jsx": false
- }
- },
"rules": {
"no-octal": "warn",
"no-unused-vars": "warn",