revere.dev/safelock/dashboard/.eslintrc.js

30 lines
773 B
JavaScript

module.exports = {
env: {
es2021: true,
node: true,
},
extends: ['airbnb-base', 'prettier'],
parserOptions: {
ecmaVersion: 12,
},
rules: {
camelcase: 'off',
'no-use-before-define': 'off',
'prefer-const': 'warn',
radix: 'off',
'no-console': 'off',
'no-shadow': 'off',
'consistent-return': 'off',
'no-restricted-globals': 'off',
'no-plusplus': 'off',
'no-underscore-dangle': 'off',
'no-await-in-loop': 'off',
'no-unused-expressions': 'off',
'operator-assignment': 'warn',
'no-continue': 'off',
'no-param-reassign': 'off',
'no-useless-concat': 'warn',
'prefer-destructuring': 'off',
},
}