1 Star 0 Fork 14

cong_wa/js.tree

forked from 阿森/js.tree 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
.eslintrc.js 833 Bytes
Copy Edit Raw Blame History
zhengxs authored 2021-05-19 09:42 . style: 添加尾逗号
module.exports = {
root: true,
env: {
node: true,
browser: true,
es6: true,
},
plugins: ['prettier'],
extends: ['eslint:recommended', 'prettier'],
parserOptions: {
ecmaVersion: 2019,
sourceType: 'module',
},
overrides: [
{
files: ['**/*.ts'],
plugins: ['@typescript-eslint/eslint-plugin', 'eslint-plugin-tsdoc'],
extends: ['plugin:@typescript-eslint/recommended'],
rules: {
'tsdoc/syntax': 'warn',
'@typescript-eslint/explicit-module-boundary-types': 'warn',
'@typescript-eslint/ban-ts-comment': 'warn',
},
parser: '@typescript-eslint/parser',
},
{
files: ['cypress/**/*.spec.js', 'cypress/**/*.spec.ts'],
env: {
'cypress/globals': true,
},
plugins: ['cypress', '@cypress/dev'],
},
],
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/cong_wa/js.tree.git
git@gitee.com:cong_wa/js.tree.git
cong_wa
js.tree
js.tree
main

Search