- Adds Web workers and does evaluations in off the main thread - Removes any need to store functions in the data tree and only keeps them around while evaluating - Maintains a stored data tree in the redux state - Evaluates based on editor events instead of state changes
32 lines
1.0 KiB
JavaScript
32 lines
1.0 KiB
JavaScript
module.exports = {
|
|
parser: "@typescript-eslint/parser",
|
|
plugins: ["react", "@typescript-eslint", "prettier", "react-hooks"],
|
|
extends: [
|
|
"plugin:react/recommended", // Uses the recommended rules from @eslint-plugin-react
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier/@typescript-eslint",
|
|
"plugin:prettier/recommended",
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
|
|
sourceType: "module", // Allows for the use of imports
|
|
ecmaFeatures: {
|
|
jsx: true, // Allows for the parsing of JSX
|
|
},
|
|
},
|
|
rules: {
|
|
"@typescript-eslint/explicit-function-return-type": 0,
|
|
"@typescript-eslint/no-explicit-any": 0,
|
|
"react-hooks/rules-of-hooks": "error",
|
|
"@typescript-eslint/no-use-before-define": 0,
|
|
"@typescript-eslint/no-var-requires": 0,
|
|
"import/no-webpack-loader-syntax": 0
|
|
},
|
|
settings: {
|
|
react: {
|
|
pragma: "React",
|
|
version: "detect", // Tells eslint-plugin-react to automatically detect the version of React to use
|
|
},
|
|
},
|
|
};
|