Semaphore/web/.eslintrc.js
Denis Gukov 9323b6aaf3
Some checks failed
Dev / build-local (push) Has been cancelled
Dev / migrate-boltdb (push) Has been cancelled
Dev / migrate-mysql (push) Has been cancelled
Dev / migrate-mariadb (push) Has been cancelled
Dev / migrate-postgres (push) Has been cancelled
Dev / integrate-boltdb (push) Has been cancelled
Dev / integrate-mysql (push) Has been cancelled
Dev / integrate-mariadb (push) Has been cancelled
Dev / integrate-postgres (push) Has been cancelled
Dev / deploy-server (push) Has been cancelled
Dev / deploy-runner (push) Has been cancelled
feat(be): app init params
2024-12-06 13:53:46 +00:00

55 lines
1.0 KiB
JavaScript

module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:import/recommended',
'plugin:vue/essential',
'@vue/airbnb',
],
parserOptions: {
parser: 'babel-eslint',
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'linebreak-style': 'off',
'prefer-destructuring': 'off',
'vuejs-accessibility/click-events-have-key-events': 'off',
'vue/valid-v-slot': 'off',
'vue/multi-word-component-names': 'off',
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)',
'**/tests/unit/**/*.spec.{j,t}s?(x)',
],
env: {
mocha: true,
},
},
],
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.vue'],
},
'import/internal-regex': '^@',
'import/resolver': {
alias: {
map: ['@', './src'],
extensions: ['.vue', '.js'],
},
},
},
},
};