@biscuittin/eslint-parser-plain
v0.0.4
Published
Parse various types of files with ESLint, a fork of Ray's (@so1ve).
Maintainers
Readme
@biscuittin/eslint-parser-plain
Allow you to parse various types of files with ESLint, a fork of Ray's (@so1ve).
The difference from the original package is that this package fixes issues with ESLint errors in specific cases caused by missing meta data.
Usages
Install
npm install -D @biscuittin/eslint-parser-plainyarn add -D @biscuittin/eslint-parser-plainpnpm add -D @biscuittin/eslint-parser-plainConfigure
We recommend using ESLint's Flat Config format.
import parserPlain from '@biscuittin/eslint-parser-plain'
export default [
{
files: ['*.md'],
parser: parserPlain,
rules: {
'prettier/prettier': ['error', { parser: 'markdown' }],
},
},
]Or legacy config format:
module.exports = {
overrides: [
{
files: ['*.md'],
parser: 'eslint-parser-plain',
rules: {
'prettier/prettier': ['error', { parser: 'markdown' }],
},
},
],
}Credits
License
MIT License
Copyright (c) 2022 Ray https://github.com/so1ve Copyright (c) 2024-present Biscuit Tin [email protected]
