golang.org/x/build@v0.0.0-20240506185731-218518f32b70/cmd/relui/.eslintrc.yaml (about)

     1  # Copyright 2023 The Go Authors. All rights reserved.
     2  # Use of this source code is governed by a BSD-style
     3  # license that can be found in the LICENSE file.
     4  
     5  root: true
     6  extends: google
     7  parserOptions:
     8    ecmaVersion: 2018
     9  rules:
    10    require-jsdoc: 'off'
    11    indent: 'off'
    12    arrow-parens: 'off'
    13  overrides:
    14    - files:
    15      - "*.js"
    16      env:
    17        browser: true
    18      extends:
    19        - eslint:recommended
    20        - plugin:prettier/recommended
    21      rules:
    22        func-style:
    23          - error
    24          - "expression"
    25        prettier/prettier:
    26          - error
    27          - printWidth: 120
    28        valid-jsdoc:
    29          - error
    30          - requireParamType: false
    31            requireReturnType: false
    32            requireReturn: false