Skip to content

Commit

Permalink
Merge pull request #36 from OpenTechStrategies/extend-linting-further
Browse files Browse the repository at this point in the history
Extend linting further
  • Loading branch information
hminsky2002 authored Sep 6, 2024
2 parents ce8a080 + 403cabc commit 044eed7
Show file tree
Hide file tree
Showing 26 changed files with 2,832 additions and 387 deletions.
30 changes: 30 additions & 0 deletions front-end/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module.exports = {
env: {
browser: true,
es2021: true
},
extends: [
'@vue/eslint-config-airbnb-with-typescript',
'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:vue-scoped-css/recommended',
'prettier'
],
parserOptions: {
ecmaVersion: 12,
sourceType: 'module',
parser: '@typescript-eslint/parser',
extraFileExtensions: ['.vue']
},
plugins: ['vue', '@typescript-eslint', 'vue-scoped-css'],
rules: {
'vue/no-mutating-props': [
'error',
{
shallowOnly: true
}
],
'vue/no-multiple-template-root': 'off',
'vuejs-accessibility/click-events-have-key-events': 'off'
}
};
32 changes: 0 additions & 32 deletions front-end/eslint.config.js

This file was deleted.

Loading

0 comments on commit 044eed7

Please sign in to comment.