Interactive interface for browsing global, full-resolution satellite imagery
added wvc eslint rules w dependencies #494
Benjamin2c0a2f8544c0
diff --git a/.eslintrc b/.eslintrcindex 621237342..a0472337f 100644--- a/.eslintrc+++ b/.eslintrc@@ -4,16 +4,42 @@"browser": true,"node": true},- "parserOptions": {- "ecmaVersion": 5,- "sourceType": "script",- "ecmaFeatures": {- "jsx": false- }+ "ecmaFeatures": {+ "jsx": true},+ "parser": "babel-eslint",+ "plugins": [+ "react"+ ],"rules": {- "strict": 0,- "semi": [2, "always"],- "indent": [2, 2, {"SwitchCase": 1}],+ "strict": 0,+ "valid-jsdoc": 0,+ "comma-spacing": 1,+ "key-spacing": 0,+ "no-underscore-dangle": 0,+ "no-unused-vars": [1, { "vars": "all", "args": "none" }],+ "no-undef": 1,+ "new-cap": 0,+ "no-param-reassign": 0,+ "no-spaced-func": 1,+ "padded-blocks": 0,+ "camelcase": 1,+ "semi": 1,+ "no-extra-semi": 1,+ "no-mixed-spaces-and-tabs": 1,+ "no-trailing-spaces": 1,+ "space-before-function-paren": 0,+ "space-in-parens": 1,+ "indent": [2, 2, {"SwitchCase": 1}],+ "react/display-name": 0,+ "react/jsx-uses-react": 1,+ "react/no-did-mount-set-state": 1,+ "react/no-did-update-set-state": 1,+ "react/no-multi-comp": 1,+ "react/prop-types": [0, { ignore: [children, className] }],+ "react/react-in-jsx-scope": 1,+ "react/self-closing-comp": 1,+ "react/wrap-multilines": 1,+ "react/jsx-uses-vars": 1}}diff --git a/package.json b/package.jsonindex b5673a313..451f99b89 100644--- a/package.json+++ b/package.json@@ -16,6 +16,7 @@},"devDependencies": {"autoprefixer": "7.1.1",+ "babel-eslint": "^7.2.3","babel-polyfill": "6.16.0","babel-preset-es2015": "^6.24.1","babel-preset-react": "^6.24.1",@@ -24,6 +25,7 @@"browserify": "^14.4.0","buster": "0.7.12","chromedriver": "2.25.1",+ "eslint-plugin-react": "^7.3.0","express": "4.15.2","font-awesome": "4.7.0","geckodriver": "1.2.0",