mirror of
https://github.com/usememos/memos.git
synced 2024-12-25 20:32:18 +03:00
33 lines
748 B
JSON
33 lines
748 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["react", "@typescript-eslint", "prettier"],
|
|
"ignorePatterns": ["node_modules", "dist", "public"],
|
|
"rules": {
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"endOfLine": "auto"
|
|
}
|
|
],
|
|
"@typescript-eslint/no-explicit-any": ["off"],
|
|
"react/react-in-jsx-scope": "off"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|