去掉 markdown lint
This commit is contained in:
@@ -11,7 +11,6 @@ module.exports = {
|
||||
'plugin:eslint-comments/recommended',
|
||||
'plugin:jsonc/recommended-with-jsonc',
|
||||
'plugin:yml/standard',
|
||||
'plugin:markdown/recommended',
|
||||
],
|
||||
ignorePatterns: [
|
||||
'*.min.*',
|
||||
@@ -182,32 +181,6 @@ module.exports = {
|
||||
'no-only-tests/no-only-tests': 'error',
|
||||
},
|
||||
},
|
||||
{
|
||||
// Code blocks in markdown file
|
||||
files: ['**/*.md/*.*'],
|
||||
rules: {
|
||||
'@typescript-eslint/no-redeclare': 'off',
|
||||
'@typescript-eslint/no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-use-before-define': 'off',
|
||||
'@typescript-eslint/no-var-requires': 'off',
|
||||
'@typescript-eslint/comma-dangle': 'off',
|
||||
'@typescript-eslint/consistent-type-imports': 'off',
|
||||
'@typescript-eslint/no-namespace': 'off',
|
||||
'@typescript-eslint/no-require-imports': 'off',
|
||||
'import/no-unresolved': 'off',
|
||||
'unused-imports/no-unused-imports': 'off',
|
||||
'unused-imports/no-unused-vars': 'off',
|
||||
'no-alert': 'off',
|
||||
'no-console': 'off',
|
||||
'no-restricted-imports': 'off',
|
||||
'no-undef': 'off',
|
||||
'no-unused-expressions': 'off',
|
||||
'no-unused-vars': 'off',
|
||||
'antfu/no-cjs-exports': 'off',
|
||||
'antfu/no-ts-export-equal': 'off',
|
||||
'n/prefer-global/process': 'off',
|
||||
},
|
||||
},
|
||||
],
|
||||
rules: {
|
||||
// import
|
||||
|
@@ -24,7 +24,6 @@
|
||||
"eslint-plugin-html": "^7.1.0",
|
||||
"eslint-plugin-import": "npm:eslint-plugin-i@2.28.0-2",
|
||||
"eslint-plugin-jsonc": "^2.9.0",
|
||||
"eslint-plugin-markdown": "^3.0.1",
|
||||
"eslint-plugin-n": "^16.0.1",
|
||||
"eslint-plugin-no-only-tests": "^3.1.0",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
@@ -37,4 +36,4 @@
|
||||
"devDependencies": {
|
||||
"eslint": "^8.46.0"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user