FitTrackee/fittrackee_client/.eslintrc.cjs

40 lines
844 B
JavaScript
Raw Normal View History

/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')
module.exports = {
root: true,
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
2023-11-11 18:44:07 +01:00
'@vue/eslint-config-prettier/skip-formatting',
'plugin:import/recommended',
'plugin:import/typescript'
],
parserOptions: {
ecmaVersion: 'latest'
},
2023-11-11 18:44:07 +01:00
settings: {
'import/resolver': {
typescript: {
alwaysTryTypes: true,
project: 'tsconfig.json'
}
}
},
rules: {
'import/order': [
'error',
{
'newlines-between': 'always',
alphabetize: {
order: 'asc',
caseInsensitive: true
}
}
],
'import/no-unresolved': ['off', { ignore: ['^@/'] }],
'vue/multi-word-component-names': 'off'
}
}