Skip to content

Commit

Permalink
feat: 包使用方式 禁止行内disable
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxudong13804 committed Jan 29, 2024
1 parent f029cf6 commit 7d5d061
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/configs/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ module.exports = {
SharedArrayBuffer: 'readonly',
},
ignorePatterns: ['*.min.js', 'iconfont.js'],
noInlineConfig: true
}
1 change: 1 addition & 0 deletions lib/configs/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,5 @@ module.exports = {
"yield-star-spacing": 0
},
ignorePatterns: BaseOptions.ignorePatterns,
noInlineConfig: BaseOptions.noInlineConfig,
}
1 change: 1 addition & 0 deletions lib/configs/react-ts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,5 @@ module.exports = {
'@typescript-eslint/triple-slash-reference': 'off', // error -> off
},
ignorePatterns: BaseOptions.ignorePatterns,
noInlineConfig: BaseOptions.noInlineConfig,
};
1 change: 1 addition & 0 deletions lib/configs/ts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ module.exports = {
'@typescript-eslint/triple-slash-reference': 'off', // error -> off
},
ignorePatterns: BaseOptions.ignorePatterns,
noInlineConfig: BaseOptions.noInlineConfig,

};
1 change: 1 addition & 0 deletions lib/configs/vue2-ts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ module.exports = {
'@typescript-eslint/triple-slash-reference': 'off', // error -> off
},
ignorePatterns: BaseOptions.ignorePatterns,
noInlineConfig: BaseOptions.noInlineConfig,
};
1 change: 1 addition & 0 deletions lib/configs/vue3-ts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ module.exports = {
'@typescript-eslint/triple-slash-reference': 'off', // error -> off
},
ignorePatterns: BaseOptions.ignorePatterns,
noInlineConfig: BaseOptions.noInlineConfig,
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@afuteam/eslint-plugin-fe",
"version": "2.0.1",
"version": "2.0.2",
"description": "AfuTeam ESLint Plugin",
"main": "./lib/index.js",
"exports": {
Expand Down

0 comments on commit 7d5d061

Please sign in to comment.