Skip to content

Commit

Permalink
chore: eslint config & fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
QRuhier committed Sep 16, 2024
1 parent a064c79 commit e263400
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 35 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ env:

rules:
indent: 0
default-param-last: 0
no-restricted-exports: 0
prefer-regex-literals: 0
func-style: 0
func-names: 0
comma-dangle: 0
Expand All @@ -38,6 +41,7 @@ rules:
react/jsx-filename-extension: 0
react/prefer-stateless-function: 0
react/no-children-prop: 0
react/function-component-definition: 0
react/forbid-prop-types: 0
react/react-in-jsx-scope: 0
react/no-unescaped-entities: 0
Expand Down
19 changes: 0 additions & 19 deletions src/forms/controls/rich-textarea/hoc/with-conditions.jsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,3 @@ exports[`DropZone > Should have this default template 1`] = `
</div>
</div>
`;

exports[`DropZone Should have this default template 1`] = `
<div
className="questionnaire-element-drop-zone"
style={Object {}}
>
<div
className="questionnaire-element-label"
>
Drop here !
</div>
</div>
`;
1 change: 1 addition & 0 deletions src/reducers/app-state/active-components-by-id.spec.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, test } from 'vitest';
import actionsHandlers, {
setActiveComponents,
updateActiveComponents,
Expand Down
1 change: 1 addition & 0 deletions src/utils/dictionary/dictionary.spec.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { expect, test } from 'vitest';
import { createDictionary, getLang } from './dictionary';

['browserLanguage', 'language'].forEach(property => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import Input from '../../../../forms/controls/input';
import { SimpleEditorWithVariable } from '../../../../forms/controls/control-with-suggestions';
import { ListWithInputPanel } from '../../../list-with-input-panel';
import { validateCalculatedVariableForm } from '../../../../utils/validation/validate';
import ResponseFormatDatatypeNumeric from '../../components/response-format/simple/simple-numeric';
import ResponseFormatDatatypeText from '../../components/response-format/simple/simple-text';
import ResponseFormatDatatypeDate from '../../components/response-format/simple/simple-date';
import ResponseFormatDatatypeNumeric from '../response-format/simple/simple-numeric';
import ResponseFormatDatatypeText from '../response-format/simple/simple-text';
import ResponseFormatDatatypeDate from '../response-format/simple/simple-date';
import Dictionary from '../../../../utils/dictionary/dictionary';

import { SelectorView, View } from '../../../selector-view';
Expand Down

0 comments on commit e263400

Please sign in to comment.