0.1.1 • Published 5 months ago
eslint-parser-plain v0.1.1
eslint-parser-plain
Allow you to parse various types of files with ESLint.
📦 Installation
$ npm install eslint-parser-plain -D
$ yarn add eslint-parser-plain -D
$ pnpm add eslint-parser-plain -D
🚀 Usage
In your eslint config file:
module.exports = {
overrides: [
{
files: ["*.md"],
parser: "eslint-parser-plain",
rules: {
"prettier/prettier": ["error", { parser: "markdown" }],
},
},
],
};
That's it!