This file contains 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
import { ESLintUtils } from '@typescript-eslint/utils'; | |
const createRule = ESLintUtils.RuleCreator(() => ''); | |
export const storeNamingConvention = createRule({ | |
name: 'store-naming-convention', | |
meta: { | |
type: 'layout', | |
docs: { | |
description: 'Enforce $ as a prefix or postfix for any store created by Effector methods', |
This file contains 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
/* eslint-disable @typescript-eslint/no-explicit-any, functional/immutable-data, no-restricted-syntax */ | |
import { type Store, type StoreValue, useStoreMap } from '@grlt/vendors/state'; | |
import { mergeDeepRight, notEquals } from '../../../helpers/helpers'; | |
import type { NonEmptyArray, Paths } from '../../../types/types'; | |
import { useStableKeys } from '../useStableKeys'; | |
type GetByPath<T, Path extends string> = Path extends `${infer K}.${infer Rest}` | |
? K extends keyof T | |
? { [Key in K]: GetByPath<T[K], Rest> } |
This file contains 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
/* eslint-disable react-hooks/rules-of-hooks */ | |
import { createStore } from '@grlt/vendors/state'; | |
import { createHookWithStoreGetter } from '../index'; | |
const $myKv = createStore({ | |
a: 1, | |
b: '2', | |
c: { |
This file contains 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
const addExternalProcessingData = declareAction<Record<string, unknown>>(); | |
const EVENTS = { | |
[EVENT_NAME.ADD_PROCESSING_DATA]: addExternalProcessingData, | |
} as const; | |
const makeCall = (store: Store) => ({ | |
name, | |
payload, | |
}: { |
- Стиль: 2d, мультипликационный
- Длительность:
- 500ms для взрыва от динамита
- ~2000ms-3000ms для разлёта черепушки
- ~350ms для остальных
- Фирменные цвета: #FFB42B, #B92D14, #D8D8D8, #484848, #BEBEBE, #050505, #242424
- Где будут размещены: https://www.icloud.com/iclouddrive/0f1qA8FvJ8SYqrlBHZdoNUc-A#gameScreen
- Где проверять: https://lottiefiles.com/preview
This file contains 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 = { | |
printWidth: 120, | |
parser: 'typescript', | |
useTabs: false, | |
singleQuote: true, | |
trailingComma: 'all', | |
}; |
This file contains 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
Show hidden characters
{ | |
"defaultSeverity": "error", | |
"extends": [ | |
"tslint:recommended" | |
], | |
"rules": { | |
"quotemark": [ | |
true, | |
"single", | |
"jsx-double" |
This file contains 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
{ | |
"compilerOptions": { | |
"target": "es5", | |
"module": "commonjs", | |
"jsx": "react", | |
"strict": true, | |
"noImplicitAny": true, | |
"allowSyntheticDefaultImports": true, | |
"esModuleInterop": true, | |
"lib": [ "es2017", "dom" ], |