Skip to content

Commit

Permalink
fix(eslint-config-appium): remove prototype assignment warning
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jul 3, 2023
1 parent f1d768c commit 679865e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/eslint-config-appium/index.js
Expand Up @@ -91,18 +91,6 @@ module.exports = {
'require-atomic-updates': 0,
'no-prototype-builtins': 1,
'no-redeclare': 1,
'no-restricted-syntax': [
'warn',
{
selector: 'AssignmentExpression[left.object.property.name="prototype"]',
message: 'Avoid assignment to prototype; use class fields, methods or mixins instead.',
},
{
selector:
'CallExpression[callee.object.name="Object"][callee.property.name="assign"][arguments.0.property.name="prototype"]',
message: 'Avoid assignment to prototype; use class fields, methods or mixins instead.',
},
],
},
overrides: [
/**
Expand Down

0 comments on commit 679865e

Please sign in to comment.