.eslintrc.js 600 B

123456789101112131415161718192021222324252627
  1. module.exports = {
  2. env: {
  3. },
  4. globals: {
  5. },
  6. settings: {
  7. },
  8. rules: {
  9. indent: [
  10. 'error',
  11. 2,
  12. {
  13. SwitchCase: 1,
  14. ArrayExpression: 'first',
  15. FunctionDeclaration: { body: 1, parameters: 2 },
  16. FunctionExpression: { body: 1, parameters: 2 },
  17. ignoredNodes: [
  18. 'ClassBody > PropertyDefinition[decorators] > Identifier',
  19. 'ClassBody > MethodDefinition[decorators] > Identifier',
  20. ],
  21. },
  22. ],
  23. // set 'warn' temporarily -- 2022.07.13 Yuki Takei
  24. '@typescript-eslint/no-explicit-any': ['warn'],
  25. },
  26. };