25 Star 303 Fork 98

LogicFlow/LogicFlow

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 2.08 KB
一键复制 编辑 原始数据 按行查看 历史
胥涛 提交于 2023-07-07 16:42 . feat: create logicflow eninge
module.exports = {
env: {
browser: true,
es6: true,
},
extends: [
'plugin:@typescript-eslint/recommended',
'airbnb-typescript',
'airbnb/hooks',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
ecmaFeatures: {
modules: true,
},
project: './tsconfig.json',
},
plugins: ['@typescript-eslint'],
settings: {
react: {
pragma: 'h',
},
},
ignorePatterns: ["**/*.mjs", "**/*.test.js"],
rules: {
'indent': ['error', 2, { SwitchCase: 1 }],
'linebreak-style': ['error', 'unix'],
'quotes': ['error', 'single'],
'semi': ['error', 'always'],
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/no-use-before-define': 0,
'import/prefer-default-export': 0,
'import/no-cycle': 0,
'no-plusplus': 0,
'no-underscore-dangle': 0,
'no-param-reassign': 0,
'padded-blocks': 0,
'arrow-parens': 0,
'consistent-return': 0,
'import/no-named-as-default': 0,
'class-methods-use-this': 0,
'@typescript-eslint/no-unused-expressions': 0,
'@typescript-eslint/lines-between-class-members': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'react/prop-types': 0,
'react/jsx-props-no-spreading': 0,
'react/prefer-stateless-function': 0,
'jsx-a11y/click-events-have-key-events': 0,
'jsx-a11y/no-static-element-interactions': 0,
'jsx-a11y/no-noninteractive-element-interactions': 0,
'@typescript-eslint/ban-types': 0,
'max-classes-per-file': 0,
'react/jsx-boolean-value': 0,
'@typescript-eslint/ban-ts-comment': 0,
'react/no-danger': 0,
'no-console': 0,
'import/no-extraneous-dependencies': 0,
'@typescript-eslint/no-explicit-any': 0,
'object-curly-newline': 0,
'prefer-object-spread': 0,
'no-restricted-syntax': 0,
'operator-assignment': 0
},
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/logic-flow/LogicFlow.git
git@gitee.com:logic-flow/LogicFlow.git
logic-flow
LogicFlow
LogicFlow
master

搜索帮助