FitTrackee/fittrackee_client/.eslintrc.cjs

41 lines
894 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: ['^@/'] }],
2023-11-15 09:43:59 +01:00
'vue/multi-word-component-names': 'off',
'@typescript-eslint/no-unused-vars': 'error'
}
}