1 Star 0 Fork 88

swimming8243 / LogicFlow

forked from LogicFlow / LogicFlow 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
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"],
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
},
};
TypeScript
1
https://gitee.com/swimming8243/LogicFlow.git
git@gitee.com:swimming8243/LogicFlow.git
swimming8243
LogicFlow
LogicFlow
master

搜索帮助