1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/jd-platform-opensource-ccms

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.eslintrc 1.7 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
zjt Отправлено 09.05.2022 11:08 da16825
{
"env": {
"browser": true,
"es2021": true,
"jest": true,
"node": true,
"commonjs": true
},
"extends": [
"airbnb",
"plugin:compat/recommended",
"plugin:jest/recommended",
"plugin:react/recommended",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react",
"babel",
"jest",
"react-hooks",
"@typescript-eslint"
],
"settings": {
"react": {
"version": "16.13.1"
},
"polyfills": [
"Promise"
]
},
"rules": {
"react/jsx-props-no-spreading": 0,
"no-use-before-define": 0,
"react/display-name": 0,
"import/extensions": 0,
"import/no-cycle": 0,
"consistent-return": 0,
"no-restricted-syntax": 0,
"import/no-extraneous-dependencies": 1,
"@typescript-eslint/no-empty-function": 1,
"typescript-eslint/no-explicit-any": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-plusplus": 0,
"no-continue": 0,
"react/no-array-index-key": 1,
"no-return-await": 1,
"import/no-unresolved": 1,
"no-await-in-loop": 1,
"no-nested-ternary": 1,
"react/jsx-no-useless-fragment": 1,
"no-shadow": 1,
"comma-dangle": [
"error",
"never"
],
"space-before-function-paren": [
0,
"always"
],
"react/jsx-filename-extension": [
2,
{
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
]
}
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/jd-platform-opensource-ccms.git
git@api.gitlife.ru:oschina-mirror/jd-platform-opensource-ccms.git
oschina-mirror
jd-platform-opensource-ccms
jd-platform-opensource-ccms
master