Skip to content

Commit

Permalink
fix: remove redundant 'use strict'
Browse files Browse the repository at this point in the history
Modules are always executed in strict mode, so you don't need to include
the 'use strict' directive at the beginning of your module files. This
makes the directive redundant in the context of modules.
  • Loading branch information
chessurisme committed Jul 29, 2024
1 parent 4119da0 commit 4319c6f
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 32 deletions.
2 changes: 0 additions & 2 deletions src/components/__tests__/button.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { JSDOM } from 'jsdom'
import { Button } from '@components/button'

Expand Down
2 changes: 0 additions & 2 deletions src/components/__tests__/checkbox.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { JSDOM } from 'jsdom'
import { Checkbox } from '@components/checkbox'

Expand Down
2 changes: 0 additions & 2 deletions src/components/__tests__/container.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { JSDOM } from 'jsdom'
import { Container } from '@components/container'
import { Button } from '@components/button'
Expand Down
2 changes: 0 additions & 2 deletions src/components/__tests__/modal.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { JSDOM } from 'jsdom'
import { Modal } from '@components/modal'
import { Button } from '@components/button'
Expand Down
2 changes: 0 additions & 2 deletions src/components/__tests__/page.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { JSDOM } from 'jsdom'
import { Page } from '@components/page'
import { Modal } from '@components/modal'
Expand Down
2 changes: 0 additions & 2 deletions src/components/__tests__/snackbar.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { JSDOM } from 'jsdom'
import { Snackbar } from '@components/snackbar'

Expand Down
2 changes: 0 additions & 2 deletions src/components/__tests__/tab.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { JSDOM } from 'jsdom'
import { Tab } from '@components/tab'
import { Button } from '@components/button'
Expand Down
2 changes: 0 additions & 2 deletions src/components/__tests__/textarea.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { JSDOM } from 'jsdom'
import { Textarea } from '@components/textarea'

Expand Down
2 changes: 0 additions & 2 deletions src/components/button.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { isConfigVerified } from '@utilities/config/config-verifier'
import { setEvents } from '@utilities/components/set-events'
import { setAttributes } from '@utilities/components/set-attributes'
Expand Down
2 changes: 0 additions & 2 deletions src/components/checkbox.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { isConfigVerified } from '@utilities/config/config-verifier'
import { setAttributes } from '@utilities/components/set-attributes'

Expand Down
2 changes: 0 additions & 2 deletions src/components/container.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { isConfigVerified } from '@utilities/config/config-verifier'
import { setAttributes } from '@utilities/components/set-attributes'

Expand Down
2 changes: 0 additions & 2 deletions src/components/modal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { isConfigVerified } from '@utilities/config/config-verifier'
import { setAttributes } from '@utilities/components/set-attributes'

Expand Down
2 changes: 0 additions & 2 deletions src/components/page.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { isConfigVerified } from '@utilities/config/config-verifier'
import { setAttributes } from '@utilities/components/set-attributes'
import { Button } from './button'
Expand Down
2 changes: 0 additions & 2 deletions src/components/snackbar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { isConfigVerified } from '@utilities/config/config-verifier'
import { setAttributes } from '@utilities/components/set-attributes'

Expand Down
2 changes: 0 additions & 2 deletions src/components/tab.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { isConfigVerified } from '@utilities/config/config-verifier'
import { setAttributes } from '@utilities/components/set-attributes'

Expand Down
2 changes: 0 additions & 2 deletions src/components/textarea.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import { isConfigVerified } from '@utilities/config/config-verifier'
import { setAttributes } from '@utilities/components/set-attributes'

Expand Down

0 comments on commit 4319c6f

Please sign in to comment.