You've already forked AstralRinth
forked from didirus/AstralRinth
Migrate to Turborepo (#1251)
This commit is contained in:
38
packages/eslint-config-custom/vue.js
Normal file
38
packages/eslint-config-custom/vue.js
Normal file
@@ -0,0 +1,38 @@
|
||||
const { resolve } = require('node:path')
|
||||
|
||||
const project = resolve(process.cwd(), 'tsconfig.json')
|
||||
|
||||
/*
|
||||
* This is a custom ESLint configuration for use with
|
||||
* internal that utilize VueJS.
|
||||
*
|
||||
* This config extends the Vercel Engineering Style Guide.
|
||||
* For more information, see https://github.com/vercel/style-guide
|
||||
*
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
extends: ['@vercel/style-guide/eslint/browser', '@vue/eslint-config-typescript'].map(
|
||||
require.resolve,
|
||||
),
|
||||
parserOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
},
|
||||
settings: {
|
||||
'import/resolver': {
|
||||
typescript: {
|
||||
project,
|
||||
},
|
||||
},
|
||||
},
|
||||
ignorePatterns: ['node_modules/', 'dist/', '.eslintrc.js'],
|
||||
|
||||
rules: {
|
||||
'import/no-default-export': 'off',
|
||||
'vue/multi-word-component-names': 'off',
|
||||
camelcase: 'off',
|
||||
'no-console': 'off',
|
||||
'no-bitwise': 'off',
|
||||
// add specific rules configurations here
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user