Skip to content

Commit

Permalink
build: remove toolbox eslint remnants
Browse files Browse the repository at this point in the history
  • Loading branch information
mjfwebb committed Oct 28, 2024
1 parent 570abbc commit d0e1d44
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 385 deletions.
30 changes: 0 additions & 30 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,35 +91,5 @@ module.exports = {
"jest/expect-expect": ["warn", { assertFunctionNames: ["expect", "expectTypeOf"] }],
},
},
{
files: ["**/*.tsx"],
extends: ["plugin:react/recommended", "plugin:react/jsx-runtime", "plugin:jsx-a11y/recommended"],
plugins: ["simple-import-sort"],
settings: {
react: {
version: "detect",
},
},
rules: {
"simple-import-sort/imports": [
"error",
{
groups: [
// Matches any import statement that are 'react'
["^react$"],

// Matches any import statement that starts with '@' followed by any word character
["^@?\\w"],

// Matches any import statement that starts with a dot, but not when it is followed by a forward slash (i.e., not a relative import), and not when it is followed by nothing (i.e., not an absolute import). Also matches import statements that start with two dots, followed by either nothing or a forward slash (i.e., a relative parent import).
["^\\.(?!/?$)", "^\\.\\./?$"],

// Side effect imports.
["^\\u0000"],
],
},
],
},
},
],
};
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "28.8.3",
"eslint-plugin-jsx-a11y": "6.10.1",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-simple-import-sort": "12.1.1",
"graphql": "16.9.0",
"husky": "9.1.6",
"jest": "29.7.0",
Expand Down
Loading

0 comments on commit d0e1d44

Please sign in to comment.