mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 12:38:39 -09:00
* Bump `eslint-plugin-react`
* Add `eslint-config-xo-react`
* Add XO
* Remove eslint-related dependencies, add XO config and use XO as the linter
* Code style: Standard => XO ✨
* Use xo property to ignore files
* Fix remaining errors
15 lines
248 B
JavaScript
15 lines
248 B
JavaScript
import {CONFIG_LOAD, CONFIG_RELOAD} from '../constants/config';
|
|
|
|
export function loadConfig(config) {
|
|
return {
|
|
type: CONFIG_LOAD,
|
|
config
|
|
};
|
|
}
|
|
|
|
export function reloadConfig(config) {
|
|
return {
|
|
type: CONFIG_RELOAD,
|
|
config
|
|
};
|
|
}
|