Skip to content

Commit 926d19e

Browse files
committed
Change message of no-restricted-syntax for gcc
1 parent 9455c7c commit 926d19e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

scripts/rollup/validate/eslintrc.cjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ module.exports = {
9494
message:
9595
'Google Closure Compiler optimized `arguments` access. ' +
9696
'This affects function arity. ' +
97-
'Access `arguments.length` to avoid this optimization',
97+
'Create a reference to `arguments` to avoid this optimization',
9898
},
9999
],
100100
},

scripts/rollup/validate/eslintrc.cjs2015.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ module.exports = {
8989
message:
9090
'Google Closure Compiler optimized `arguments` access. ' +
9191
'This affects function arity. ' +
92-
'Access `arguments.length` to avoid this optimization',
92+
'Create a reference to `arguments` to avoid this optimization',
9393
},
9494
],
9595
},

scripts/rollup/validate/eslintrc.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ module.exports = {
9191
message:
9292
'Google Closure Compiler optimized `arguments` access. ' +
9393
'This affects function arity. ' +
94-
'Access `arguments.length` to avoid this optimization',
94+
'Create a reference to `arguments` to avoid this optimization',
9595
},
9696
],
9797
},

scripts/rollup/validate/eslintrc.fb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module.exports = {
7979
message:
8080
'Google Closure Compiler optimized `arguments` access. ' +
8181
'This affects function arity. ' +
82-
'Access `arguments.length` to avoid this optimization',
82+
'Create a reference to `arguments` to avoid this optimization',
8383
},
8484
],
8585
},

scripts/rollup/validate/eslintrc.rn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ module.exports = {
8181
message:
8282
'Google Closure Compiler optimized `arguments` access. ' +
8383
'This affects function arity. ' +
84-
'Access `arguments.length` to avoid this optimization',
84+
'Create a reference to `arguments` to avoid this optimization',
8585
},
8686
],
8787
},

0 commit comments

Comments
 (0)