mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-09-29 13:52:26 +08:00

* Refactor js submodule * Remove change-log * Update ocr module * Update ocr-detection module * Update ocr-detection module * Remove change-log
28 lines
633 B
JavaScript
28 lines
633 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser', // 使用 ts 解析器
|
|
extends: [
|
|
'eslint:recommended', // eslint 推荐规则
|
|
'plugin:@typescript-eslint/recommended', // ts 推荐规则
|
|
'plugin:jest/recommended',
|
|
],
|
|
plugins: [
|
|
'@typescript-eslint',
|
|
'jest',
|
|
],
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
es6: true,
|
|
},
|
|
parserOptions: {
|
|
project: 'tsconfig.eslint.json',
|
|
ecmaVersion: 2019,
|
|
sourceType: 'module',
|
|
ecmaFeatures: {
|
|
experimentalObjectRestSpread: true
|
|
}
|
|
},
|
|
rules: {}
|
|
}
|
|
|