* [wip] initial * [wip] subscriptions/plus frontend * [wip] finish payment flow * Charges page * finish most subscriptions work * Finish * update eslint * Fix issues * fix intl extract * fix omorphia locale extract * fix responsiveness * fix lint
40 lines
923 B
JavaScript
40 lines
923 B
JavaScript
const { resolve } = require('node:path')
|
|
|
|
const project = resolve(process.cwd(), 'tsconfig.json')
|
|
|
|
module.exports = {
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:vue/vue3-recommended',
|
|
'plugin:prettier/recommended',
|
|
'prettier',
|
|
'plugin:import/recommended',
|
|
'plugin:import/typescript',
|
|
'turbo',
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
},
|
|
settings: {
|
|
'import/resolver': {
|
|
typescript: {
|
|
project,
|
|
},
|
|
},
|
|
},
|
|
ignorePatterns: ['node_modules/', 'dist/', '.eslintrc.js', '*.d.ts'],
|
|
|
|
rules: {
|
|
'import/no-default-export': 'off',
|
|
'vue/multi-word-component-names': 'off',
|
|
'vue/no-multiple-template-root': 'off',
|
|
camelcase: 'off',
|
|
'no-console': 'off',
|
|
'no-bitwise': 'off',
|
|
'unicorn/filename-case': 'off',
|
|
'comma-dangle': ['error', 'only-multiline'],
|
|
'vue/no-v-html': 'off',
|
|
},
|
|
}
|