feat(eslint): sort import rule (#6939)

* feat(eslint): sort import rule

* chore(deps): pin dep

* refactor: sort imports

---------

Co-authored-by: Jesse Mazzella <jesse.d.mazzella@nasa.gov>
This commit is contained in:
Even Stensberg
2023-08-31 22:40:00 +02:00
committed by GitHub
parent e09a7aebae
commit c27ad469f6
303 changed files with 758 additions and 543 deletions

View File

@@ -9,7 +9,7 @@ module.exports = {
globals: {
_: 'readonly'
},
plugins: ['prettier'],
plugins: ['prettier', 'simple-import-sort'],
extends: [
'eslint:recommended',
'plugin:compat/recommended',
@@ -28,6 +28,8 @@ module.exports = {
}
},
rules: {
'simple-import-sort/imports': 'warn',
'simple-import-sort/exports': 'warn',
'vue/no-deprecated-dollar-listeners-api': 'warn',
'vue/no-deprecated-events-api': 'warn',
'vue/no-v-for-template-key': 'off',