You've already forked AstralRinth
forked from xxxOFFxxx/AstralRinth
Consistent extension usage in imports (#1171)
This commit is contained in:
@@ -9,10 +9,21 @@ module.exports = {
|
||||
'@nuxtjs/eslint-config-typescript',
|
||||
'plugin:prettier/recommended', // Integrate Prettier into ESLint
|
||||
'prettier', // Disable unnecessary ESLint rules in the presence of Prettier
|
||||
'plugin:import/recommended',
|
||||
'plugin:import/typescript',
|
||||
],
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
'vue/no-v-html': 'off',
|
||||
'vue/multi-word-component-names': 'off',
|
||||
'import/extensions': ['error', 'always', { ignorePackages: true }],
|
||||
},
|
||||
settings: {
|
||||
'import/parsers': {
|
||||
'@typescript-eslint/parser': ['.ts', '.tsx'],
|
||||
},
|
||||
'import/resolver': {
|
||||
typescript: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user