File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
packages/eslint-config-airbnb-base/rules Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,15 @@ module.exports = {
172
172
// disallow declaring the same variable more then once
173
173
'no-redeclare' : 'error' ,
174
174
175
+ // disallow certain object properties
176
+ // http://eslint.org/docs/rules/no-restricted-properties
177
+ // TODO: enable, semver-major
178
+ 'no-restricted-properties' : [ 'off' , {
179
+ object : 'arguments' ,
180
+ property : 'callee' ,
181
+ message : 'arguments.callee is deprecated,'
182
+ } ] ,
183
+
175
184
// disallow use of assignment in return statement
176
185
'no-return-assign' : 'error' ,
177
186
Original file line number Diff line number Diff line change @@ -33,15 +33,6 @@ module.exports = {
33
33
// restrict usage of specified node modules
34
34
'no-restricted-modules' : 'off' ,
35
35
36
- // disallow certain object properties
37
- // http://eslint.org/docs/rules/no-restricted-properties
38
- // TODO: enable, semver-major
39
- 'no-restricted-properties' : [ 'off' , {
40
- object : 'arguments' ,
41
- property : 'callee' ,
42
- message : 'arguments.callee is deprecated,'
43
- } ] ,
44
-
45
36
// disallow use of synchronous methods (off by default)
46
37
'no-sync' : 'off' ,
47
38
}
You can’t perform that action at this time.
0 commit comments