-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugs report #3
Comments
@namnm I found an error when i did not use the rule in overrides, could you help me again. just like this below. rules: {
// override/add rules settings
// ...
'sort-keys/sort-keys-fix': 'warn',
},
// overrides: [
// {
// files: [
// 'src/store/index.js',
// 'src/views/xSchemas.js',
// 'src/views/xViews.js',
// ],
// rules: {
// },
// },
// ], |
@hawtim Can you check if:
|
yes, it is 2.3.4 in my package-lock.json "eslint-plugin-sort-keys": {
"version": "2.3.4",
"integrity": "sha512-jL9k4dTeHLqcgC7wX2FA7YTCWkpNirP2YMyyxQznuyIN58vSMUXWdBqnH2KSX/3y6ueV0t6gXuElSJeVqYszbg==",
"dev": true,
"requires": {
"natural-compare": "1.4.0"
}
}, I will try to make this error occur in my playground later |
@namnm I found the code cause the error, is the inline comment. const apiForModule = {
packToList: {
receiverList: 'dc/pack/receiver/get', // export page, receiver list
exportToList: 'pack/export', // export page, export api
transportOrderCreate: 'create', // to list page, create transport order
transportOrderDetail: 'fleet/order/search', // toScan page, transport order detail
transportOrderPrintDetail: 'print/data', // toScan page, transport order print detail for new design
transportOrderLabel: 'print', // toScan page, transport order label
completeTransportOrder: 'packed', // toScan page, transport order complete
reOpenTransportOrder: 'reopen', // toScan page, transport order reopen
},
}; I remove the inline comment and these code will autofix. |
I update the eslint-playground https://github.com/hawtim/eslint-playground run |
@hawtim I published version 2.3.5 |
@hawtim please move to this thread, thanks
The text was updated successfully, but these errors were encountered: