Skip to content

Commit

Permalink
Merge pull request #4892 from GeoNode/backport-4885-to-2.10.x
Browse files Browse the repository at this point in the history
[Backport 2.10.x] [Fixes #4883] monitoring frontend refactoring
  • Loading branch information
Alessio Fabiani authored Sep 13, 2019
2 parents 493e76b + 90bd97e commit edd7bf7
Show file tree
Hide file tree
Showing 377 changed files with 10,976 additions and 2,615 deletions.
23 changes: 14 additions & 9 deletions geonode/monitoring/frontend/.babelrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"presets": [
"es2015",
"react",
"stage-0"
],
"plugins": [
"transform-decorators-legacy"
]
}
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-proposal-class-properties"
]
}
27 changes: 21 additions & 6 deletions geonode/monitoring/frontend/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"react/jsx-filename-extension": 0,
"react/prefer-stateless-function": 0
}
"parser": "babel-eslint",
"plugins": [
"react"
],
"rules": {
"react/prop-types": [ 0 ]
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
"__DEVELOPMENT__": false,
"__TRANSLATION_PATH__": false,
"__ASSETS_PATH__": false
}
}
1 change: 1 addition & 0 deletions geonode/monitoring/frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
1 change: 1 addition & 0 deletions geonode/monitoring/frontend/assets/world-50m.json

Large diffs are not rendered by default.

Loading

0 comments on commit edd7bf7

Please sign in to comment.