Code Linting

Install Master CSS ESLint with HTML

Guide to installing Master CSS ESLint in your HTML project.

Installation

Install the plugin and parser into your project via package managers.

npm install -D @master/eslint-config-css@rc @angular-eslint/template-parser eslint

Set up ESLint config

Import and add the Master CSS ESLint Configuration css to eslint.config.js.

  • Use @angular-eslint/template-parser to parse .html files.
import htmlParser from "@angular-eslint/template-parser"
import css from '@master/eslint-config-css'
export default [
{
files: ['**/*.html'],
languageOptions: { parser: htmlParser }
},
css
]

Not working in Visual Studio Code? Next, set up the VSCode ESLint.

Code Linting
Install Master CSS ESLint in Vue.js

Guide to installing Master CSS ESLint in your Vue.js project.

Code Linting
Install Master CSS ESLint with Laravel

Guide to installing Master CSS ESLint in your Laravel project.

© Aoyue Design LLC.