Skip to content

Commit

Permalink
chore(eslintrc): disable eslint-plugin-markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
hasezoey committed Mar 10, 2023
1 parent 99ebed3 commit 6f2dec1
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,33 +82,34 @@ module.exports = {
node: false,
browser: true
}
},
{
files: ['**/*.md'],
processor: 'markdown/markdown'
},
{
files: ['**/*.md/*.js', '**/*.md/*.javascript', '**/*.md/*.ts', '**/*.md/*.typescript'],
parserOptions: {
ecmaFeatures: {
impliedStrict: true
},
sourceType: 'module',
ecmaVersion: 'latest'
},
rules: {
'no-undef': 'off',
'no-unused-expressions': 'off',
'no-unused-vars': 'off',
'key-spacing': ['warn', { align: 'value' }],
'no-redeclare': 'off',
'@typescript-eslint/no-redeclare': 'off'
}
}
// eslint-plugin-markdown has been disabled because of out-standing issues, see https://github.com/eslint/eslint-plugin-markdown/issues/214
// {
// files: ['**/*.md'],
// processor: 'markdown/markdown'
// },
// {
// files: ['**/*.md/*.js', '**/*.md/*.javascript', '**/*.md/*.ts', '**/*.md/*.typescript'],
// parserOptions: {
// ecmaFeatures: {
// impliedStrict: true
// },
// sourceType: 'module',
// ecmaVersion: 'latest'
// },
// rules: {
// 'no-undef': 'off',
// 'no-unused-expressions': 'off',
// 'no-unused-vars': 'off',
// 'key-spacing': ['warn', { align: 'value' }],
// 'no-redeclare': 'off',
// '@typescript-eslint/no-redeclare': 'off'
// }
// }
],
plugins: [
'mocha-no-only',
'markdown'
'mocha-no-only'
// 'markdown'
],
parserOptions: {
ecmaVersion: 2020
Expand Down

0 comments on commit 6f2dec1

Please sign in to comment.