Skip to content

Commit

Permalink
lint jsx file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
maximemulder committed Nov 8, 2024
1 parent 0b1cf9b commit be397b7
Show file tree
Hide file tree
Showing 150 changed files with 14 additions and 11 deletions.
9 changes: 6 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,15 @@
"no-fallthrough": "error",
"react/jsx-no-undef": "off",
"react/prop-types": "error",
"no-undef": "error",
"react/jsx-key": "off",
"no-extra-semi": "error",
"no-prototype-builtins": "off",
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"react/jsx-filename-extension": ["error", {
"extensions": [".jsx", ".tsx"]
}],
"no-undef": "error",
"no-extra-semi": "error",
"no-prototype-builtins": "off",
"prefer-rest-params": "error",
"array-callback-return": "off",
"require-jsdoc": "off",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Loader from 'Loader';
import FilterableDataTable from 'FilterableDataTable';
import React, {useEffect, useState} from 'react';
import PropTypes from 'prop-types';
import ProtocolModal from './protocolModal.js';
import ProtocolModal from './protocolModal';

/**
* Entry point for the MRI Violatons module.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FilterForm from 'FilterForm';
import {Tabs, TabPane} from 'Tabs';
import PublicationUploadForm from './uploadForm.js';
import PublicationUploadForm from './uploadForm';
import {createRoot} from 'react-dom/client';
import React from 'react';
import PropTypes from 'prop-types';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,12 @@ const configs: webpack.Configuration[] = [];

configs.push({
entry: {
PaginationLinks: './jsx/PaginationLinks.js',
StaticDataTable: './jsx/StaticDataTable.js',
MultiSelectDropdown: './jsx/MultiSelectDropdown.js',
Breadcrumbs: './jsx/Breadcrumbs.js',
CSSGrid: './jsx/CSSGrid.js',
Help: './jsx/Help.js',
PaginationLinks: './jsx/PaginationLinks.jsx',
StaticDataTable: './jsx/StaticDataTable.jsx',
MultiSelectDropdown: './jsx/MultiSelectDropdown.jsx',
Breadcrumbs: './jsx/Breadcrumbs.jsx',
CSSGrid: './jsx/CSSGrid.jsx',
Help: './jsx/Help.jsx',
...entries,
},
output: {
Expand Down

0 comments on commit be397b7

Please sign in to comment.