Skip to content

Commit

Permalink
fix: imporve markdown rules
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 9, 2022
1 parent 8f51445 commit e54ac17
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions packages/basic/index.js
Expand Up @@ -13,11 +13,10 @@ module.exports = {
'plugin:markdown/recommended',
],
ignorePatterns: [
'.cache',
'*.min.*',
'CHANGELOG.md',
'dist',
'LICENSE.*',
'LICENSE*',
'public',
'temp',
'!.vitepress',
Expand Down Expand Up @@ -114,13 +113,16 @@ module.exports = {
// Code blocks in markdown file
files: ['**/*.md/*.*'],
rules: {
'no-unused-vars': 'off',
'no-undef': 'off',
'no-console': 'off',
'no-unused-expressions': 'off',
'import/no-unresolved': 'off',
'@typescript-eslint/no-redeclare': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'import/no-unresolved': 'off',
'no-alert': 'off',
'no-console': 'off',
'no-restricted-imports': 'off',
'no-undef': 'off',
'no-unused-expressions': 'off',
'no-unused-vars': 'off',
},
},
],
Expand Down

0 comments on commit e54ac17

Please sign in to comment.