@ng-native/eslint-plugin 0.26.1 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +2 -2
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -207,7 +207,7 @@ const noDomEvents = {
|
|
|
207
207
|
'routerLink listens for a DOM click and never navigates on a device. Use nativeRouterLink from @ng-native/router, on a <pressable>.',
|
|
208
208
|
event: '({{name}}) is a DOM event and never fires on a device. Use {{instead}}.',
|
|
209
209
|
desktop:
|
|
210
|
-
'({{name}}) fires only on
|
|
210
|
+
'({{name}}) fires only on a desktop OS, and expo.platforms in app.json lists no desktop OS, so it never fires here. Use {{instead}}.',
|
|
211
211
|
global:
|
|
212
212
|
'({{target}}:{{name}}) never fires: there is no {{target}} on a device. Use @ng-native/device for app-wide events.',
|
|
213
213
|
},
|
|
@@ -277,7 +277,7 @@ const desktopOnlyEvents = {
|
|
|
277
277
|
},
|
|
278
278
|
messages: {
|
|
279
279
|
event:
|
|
280
|
-
'({{name}}) fires only on
|
|
280
|
+
'({{name}}) fires only on a desktop OS: iOS and Android never send it. Where it has to work there too, use {{instead}} as well.',
|
|
281
281
|
},
|
|
282
282
|
schema: [],
|
|
283
283
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-native/eslint-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "ESLint rules for Angular Native: the DOM events, HTML controls and browser APIs that compile but do nothing on a device.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"./package.json": "./package.json"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@ng-native/metro": "0.
|
|
20
|
+
"@ng-native/metro": "0.27.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"angular-eslint": "^22.0.0",
|