Skip to content

Commit

Permalink
drop eslint-plugin-sort-keys-custom-order
Browse files Browse the repository at this point in the history
  • Loading branch information
ryota-murakami committed Oct 26, 2023
1 parent 0410bcb commit 8f6dea2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
17 changes: 1 addition & 16 deletions index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,8 @@ module.exports = {
parserOptions: {
project: ['tsconfig.json'],
},
plugins: [
'@typescript-eslint',
'import',
'sort-keys-custom-order',
'prettier',
],
plugins: ['@typescript-eslint', 'import', 'prettier'],
reportUnusedDisableDirectives: true,
root: true,
rules: {
'@typescript-eslint/await-thenable': 'warn',
'@typescript-eslint/consistent-type-imports': 'warn',
Expand Down Expand Up @@ -111,15 +105,6 @@ module.exports = {
// Prevent unexpected parseInt() output that does not return the number calculated in decimal when given a value such as parseInt(071).
radix: 'error',
'require-atomic-updates': ['error', { allowProperties: true }],
'sort-keys-custom-order/object-keys': [
'warn',
{ orderedKeys: ['id', 'name', 'title'] },
],
// For TS types sorting
'sort-keys-custom-order/type-keys': [
'warn',
{ orderedKeys: ['id', 'name', 'title'] },
],
'valid-typeof': 'warn',
},
settings: {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-sort-keys-custom-order": "^1.0.5",
"prettier": "^3.0.3",
"typescript": "^5.1.6"
},
Expand Down

0 comments on commit 8f6dea2

Please sign in to comment.