mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-30 13:25:10 +08:00
25 lines
516 B
JavaScript
25 lines
516 B
JavaScript
module.exports = {
|
|
files: ["**/*.{ts,tsx}"],
|
|
parser: "@typescript-eslint/parser",
|
|
plugins: ["@typescript-eslint/eslint-plugin"],
|
|
rules: {
|
|
"react/jsx-filename-extension": [
|
|
"error",
|
|
{
|
|
extensions: [".tsx"],
|
|
},
|
|
],
|
|
"react/prop-types": "off",
|
|
"@typescript-eslint/explicit-function-return-type": "error",
|
|
},
|
|
extends: [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"prettier/@typescript-eslint",
|
|
],
|
|
env: {
|
|
browser: true,
|
|
jest: true,
|
|
},
|
|
};
|