mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-20 08:20:02 +02:00
25 lines
716 B
JavaScript
25 lines
716 B
JavaScript
import eslint from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
|
import reactRecommended from "eslint-plugin-react/configs/recommended.js";
|
|
|
|
export default tseslint.config(
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
...tseslint.configs.stylistic,
|
|
{
|
|
files: ["**/*.{js,jsx,ts,tsx}"],
|
|
...reactRecommended,
|
|
languageOptions: {
|
|
parser: tseslint.parser,
|
|
},
|
|
rules: {
|
|
"prettier/prettier": "error",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/prop-types": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
},
|
|
},
|
|
eslintPluginPrettierRecommended,
|
|
);
|