Skip to content
Advanced Frontends.com
  • Blog
  • Contact
Search
Advanced Frontends.com
Close menu
  • Blog
  • Contact
Advanced Frontends.com
Search Toggle menu

Category: CSP

Content Security Policy Lint
HTML, CSP, NPM, Rollup, Webpack

HTML Linting for a Robust Content Security Policy

Maintaining a strict Content Security Policy can be quite challenging. Ensuring a robust linting policy is in place can help keep your codebase free from any potential violations. This article will demonstrate how to do this.

Read more
Preventing Content Security Violations using ESLint.
JavaScript, CSP, Eslint

Preventing Content Security Policy violations with ESLint

Content Security Policy (CSP) stands as an essential element in bolstering the security of web applications. In this article, I will demonstrate different approaches for harnessing ESLint to proactively identify common programming patterns that can lead to CSP breaches.

Read more
Preventing Content Security Violations using ESLint.
CSP, Architecture, Eslint, JavaScript

Enhancing CSP with ESLint: Preventing Unsafe setAttribute “style” usage

Content Security Policy (CSP) is a crucial component for securing web applications. One common practice is to disallow the use of the ‘setAttribute(“style”, …)’ command, which can introduce security vulnerabilities.

In this article, I’ll guide you through the process of creating an Eslint rule to detect and prevent it’s use.

Read more

About The Author

Maurice Downes specialises in large-scale website design using modern approaches. He has a particular passion for architecting UI components and optimising website performance.

Recent Posts

  • Modern Linting in 2025: ESLint Flat Config with TypeScript and JavaScript
  • HTML Linting for a Robust Content Security Policy
  • Master Micro Frontends with Lit-Element – Part 2
  • Master Micro Frontends with Lit-Element – Part 1
  • Preventing Content Security Policy violations with ESLint

Recent Comments

    Categories

    • Architecture
    • CSP
    • Eslint
    • HTML
    • JavaScript
    • NPM
    • Rollup
    • Web
    • Webpack
    © 2025 Advanced Frontends.com
    Consent