Background: This pr adds the objectively best way to sort imports in js
Before
import { createContext, useContext } from 'react';
import axios from 'axios';
import { Button, Card, Modal, Dropdown, Tooltip, Accordion, Pagination } from 'ui-components';
import PropTypes from 'prop-types';
import { useState } from 'react';
import moment from 'moment';
import { formatDateTime, parseISOString, getRelativeTime, formatDuration } from './utils/timeFormatters';
import styles from './App.css';
import { get } from 'lodash';
import { Link, useParams, useNavigate, useLocation } from 'react-router-dom';
After
import axios from 'axios';
import moment from 'moment';
import { get } from 'lodash';
import { useState } from 'react';
import PropTypes from 'prop-types';
import styles from './App.css';
import { createContext, useContext } from 'react';
import { Link, useParams, useNavigate, useLocation } from 'react-router-dom';
import { formatDateTime, parseISOString, getRelativeTime, formatDuration } from './utils/timeFormatters';
import { Button, Card, Modal, Dropdown, Tooltip, Accordion, Pagination } from 'ui-components';
Resolution criteria:
This market will resolve based on the merge status of Pull Request #224 in the prettier-plugin-sort-imports repository.
The resolution date will be determined by the GitHub-recorded merge timestamp.
If the PR is merged, the market will resolve according to the following thresholds:
Before May 31, 2025
Before June 30, 2025
Before July 31, 2025
Before August 31, 2025
Before December 31, 2025
Before December 31, 2026
If the PR is closed without merging or remains unmerged by December 31, 2026, the market will resolve as "not merged within the timeframe."
The official GitHub status and merge timestamp of PR #224 will serve as the sole source of truth for resolution.