speckle-server/.eslintrc.js

37 строки
622 B
JavaScript
Исходник Обычный вид История

/** @type {import("eslint").Linter.Config} */
const config = {
root: true,
env: {
es2021: true,
node: true,
commonjs: true
},
extends: ['eslint:recommended', 'prettier'],
rules: {
camelcase: [
1,
{
properties: 'always'
}
],
'no-var': 'error',
'no-alert': 'error',
2022-04-04 19:00:24 +03:00
eqeqeq: 'error',
'prefer-const': 'warn',
'object-shorthand': 'warn'
},
ignorePatterns: [
'node_modules',
'dist',
2023-05-08 10:47:01 +03:00
'dist-*',
'public',
'events.json',
'.*.{ts,js,vue,tsx,jsx}',
2023-05-08 10:47:01 +03:00
'generated/**/*',
'.nuxt',
'.output'
]
}
module.exports = config