speckle-server/.eslintrc.js

25 строки
433 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',
eqeqeq: 'error'
},
ignorePatterns: ['node_modules', 'dist', 'public']
}
module.exports = config