mirror of
https://github.com/plausible/analytics.git
synced 2024-11-27 09:16:25 +03:00
05bf43c1be
* Merge branch 'plausible_master'
* Add City level details
* Add City level details
* Use ISO codes instead of geoname_id for subdivisions
* Add easier way to configure geolocation database
* Add workflow for dev branch
* Correct clickhouse migration
* Translate subdivision names
* Translate city names
* WIP
* Region and country filters
* Fix region filter
* Remove region_name when removing region filter
* Add modals for regions and cities
* Remove dead code
* WIP
* Revert "WIP"
This reverts commit 3202bf2fe9
.
* Feature flag to hide cities when deployed
* Add changelog entry
* Remove unused code
* Remove unused variables
* Fix test
Co-authored-by: AymanTerra <aymanterra@yahoo.com>
39 lines
1.3 KiB
JSON
39 lines
1.3 KiB
JSON
{
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"extends": ["eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"prettier"
|
|
],
|
|
"parser": "babel-eslint",
|
|
"plugins": ["prettier"],
|
|
"rules": {
|
|
"max-len": [0, {"code": 120}],
|
|
"prettier/prettier": [2],
|
|
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
|
|
"react/destructuring-assignment": [0],
|
|
"react/prop-types": [0],
|
|
"max-classes-per-file": [0],
|
|
"react/display-name": [0],
|
|
"react/jsx-one-expression-per-line": [0],
|
|
"react/self-closing-comp": [0],
|
|
"no-unused-expressions": [1, { "allowShortCircuit": true }],
|
|
"no-unused-vars": [2, { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }],
|
|
"no-prototype-builtins": [0],
|
|
"react/jsx-props-no-spreading": [0],
|
|
"jsx-a11y/click-events-have-key-events": [0],
|
|
"jsx-a11y/no-static-element-interactions": [0],
|
|
"react/no-did-update-set-state": [0]
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"createClass": "createReactClass", // Regex for Component Factory to use,
|
|
// default to "createReactClass"
|
|
"pragma": "React", // Pragma to use, default to "React"
|
|
"fragment": "Fragment", // Fragment to use (may be a property of <pragma>), default to "Fragment"
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|