New Tab Config Stylelint
Replaces your new tab page with a simple page.
Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: new tab, background service worker · Styling: Sass · Level: beginner
Create this project
npx extension@latest create my-newtab-config-stylelint --template newtab-config-stylelint
cd my-newtab-config-stylelint
npm install
npm run dev
What it is for
- A new tab extension that lints its own stylesheets
- Stylelint and Sass wired into an Extension.js project
- Reference for adding a style linter to an extension codebase
First steps
- Run npm run dev to launch the extension
- Open a new tab to see the styled page this template ships
- Run npx stylelint src to check the Sass with the bundled config
Permissions it asks for
This template requests no permissions.
Source on GitHubDocumentation
extension.devDocumentation for extension.dev