mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
* fix jittering in markdown in viewer beta
* Revert "fix jittering in markdown in viewer beta"
This reverts commit 70ade42e46.
* Migrate to viser viewer
* Fix docs
* print correctly formatted url in banner for viewer beta
* add deprecation warnings to viewer_elements.py
* fix export string scientific notation bug, change .5 to 2.0 sec transition time
---------
Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
49 lines
1.0 KiB
JSON
49 lines
1.0 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"react-app",
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"airbnb",
|
|
"prettier",
|
|
"plugin:import/typescript"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["react", "@typescript-eslint", "unused-imports"],
|
|
"rules": {
|
|
"arrow-body-style": "off",
|
|
"camelcase": "off",
|
|
"import/prefer-default-export": "off",
|
|
"no-alert": "off",
|
|
"no-console": "off",
|
|
"prefer-destructuring": "off",
|
|
"react/destructuring-assignment": "off",
|
|
"react/prop-types": 0,
|
|
"react/jsx-filename-extension": [
|
|
2,
|
|
{ "extensions": [".js", ".jsx", ".ts", ".tsx"] }
|
|
],
|
|
"unused-imports/no-unused-imports-ts": 2,
|
|
"import/extensions": [
|
|
"error",
|
|
"ignorePackages",
|
|
{
|
|
"js": "never",
|
|
"jsx": "never",
|
|
"ts": "never",
|
|
"tsx": "never"
|
|
}
|
|
]
|
|
}
|
|
}
|