diff --git a/stores/calculation/options/index.ts b/stores/calculation/options/index.ts index 9303c90..be9aeaf 100644 --- a/stores/calculation/options/index.ts +++ b/stores/calculation/options/index.ts @@ -39,8 +39,7 @@ export default class OptionsStore { this.#options = initialOptions; }; - /** OPTIONS */ - + /** **************** OPTIONS **************** */ getOption(elementName: Elements) { const value = this.root.$calculation.$values.getValueByElement(elementName); return this.#options[elementName]?.find((x) => x.value === value); @@ -76,10 +75,7 @@ export default class OptionsStore { this.root.$calculation.$values.clearValueOfElement(elementName); } - /** */ - - /** FILTERS */ - + /** **************** FILTERS **************** */ getFilter(elementName: Elements) { return this.#filters[elementName]; } @@ -111,6 +107,4 @@ export default class OptionsStore { this.root.$calculation.$values.setValueOfElement(elementName, filteredOptons[0].value); } } - - /** */ } diff --git a/stores/index.js b/stores/index.js index 46f5643..870e480 100644 --- a/stores/index.js +++ b/stores/index.js @@ -1,3 +1,6 @@ +/* eslint-disable object-curly-newline */ +/* eslint-disable @typescript-eslint/naming-convention */ +/* eslint-disable no-underscore-dangle */ import { createContext } from 'react'; import RootStore from './root';