isoflow/.eslintrc
Mark Mankarious 773473b58e
refactor: integrates the renderer with react
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.
2023-07-20 16:45:54 +01:00

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"] }]
}
}