mirror of
https://github.com/markmanx/isoflow.git
synced 2025-02-01 07:34:46 +00:00
773473b58e
Migrates away from using a standalone renderer and mobx for plumbing. Previously there was a lot of manual syncing needed between the React UI and the Renderer, which added a lot of overhead and complexity. Scene state is now held in a store (facilitated by Zustand). This acts as a single source of truth shared over the renderer and the UI, and both react to changes on the store.
32 lines
848 B
Text
32 lines
848 B
Text
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"plugins": [
|
|
"react",
|
|
"react-hooks",
|
|
"prettier"
|
|
],
|
|
"extends": [
|
|
"airbnb",
|
|
"airbnb-typescript",
|
|
"plugin:react-hooks/recommended",
|
|
"prettier"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": 2,
|
|
"import/prefer-default-export": [0],
|
|
"react/function-component-definition": [0],
|
|
"react/jsx-props-no-spreading": [0],
|
|
"consistent-return": [0],
|
|
"react/no-unused-prop-types": ["warn"],
|
|
"react/require-default-props": [0],
|
|
"no-param-reassign": ["error", { "props": true, "ignorePropertyModificationsFor": ["draftState"] }]
|
|
}
|
|
}
|