Skip to content

Commit

Permalink
Enable function expressions again (#258)
Browse files Browse the repository at this point in the history
* Enable function expressions again

* Run lint:fix
  • Loading branch information
Mrtenz committed Nov 17, 2022
1 parent ade6955 commit 2e9c268
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions packages/base/rules-snapshot.json
Expand Up @@ -3172,10 +3172,6 @@
],
"no-restricted-syntax": [
"error",
{
"selector": "FunctionExpression",
"message": "Function expressions are not allowed"
},
{
"selector": "WithStatement",
"message": "With statements are not allowed"
Expand Down
4 changes: 0 additions & 4 deletions packages/base/src/index.js
Expand Up @@ -162,10 +162,6 @@ module.exports = {
'no-proto': 'error',
'no-restricted-syntax': [
'error',
{
selector: 'FunctionExpression',
message: 'Function expressions are not allowed',
},
{
selector: 'WithStatement',
message: 'With statements are not allowed',
Expand Down

0 comments on commit 2e9c268

Please sign in to comment.