Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 669 Bytes

no-incompatible-api.md

File metadata and controls

33 lines (17 loc) · 669 Bytes

Rules for electron extension api (electron-extension/no-incompatible-api)

Electron supports a subset of the Chrome Extensions API.

Rule Details

This rule aims to keep extensions working in electron.

Examples of incorrect code for this rule:

chrome.scripting.executeScript()

Examples of correct code for this rule:

chrome.tabs.executeScript()

When Not To Use It

Give a short description of when it would be appropriate to turn off this rule.

Further Reading

If there are other links that describe the issue this rule addresses, please include them here in a bulleted list.