This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * | |
| * ПАТТЕРН ПОСЕТИТЕЛЬ (visitor) | |
| * | |
| * ПОСЕТИТЕЛЬ — используется для расширения возможностей комбинации объектов, т.е. паттерн Посетитель позволяет | |
| * добавлять объектам дополнительные операции, не изменяя их исходный код. | |
| * | |
| * Когда вам нужно выполнить какую-то операцию над всеми элементами сложной структуры объектов, например, деревом. | |
| * Посетитель позволяет применять одну и ту же операцию к объектам различных классов. ИЛИ когда новое поведение имеет | |
| * смысл только для некоторых классов из существующей иерархии. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| root: true, | |
| extends: '@react-native-community', | |
| parser: '@typescript-eslint/parser', | |
| plugins: ['@typescript-eslint'], | |
| overrides: [ | |
| { | |
| files: ['*.ts', '*.tsx'], | |
| rules: { | |
| '@typescript-eslint/no-shadow': ['error'], |
NewerOlder