| # Copyright 2023 The Go Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style |
| # license that can be found in the LICENSE file. |
| |
| root: true |
| extends: google |
| parserOptions: |
| ecmaVersion: 2018 |
| rules: |
| require-jsdoc: 'off' |
| indent: 'off' |
| arrow-parens: 'off' |
| overrides: |
| - files: |
| - "*.js" |
| env: |
| browser: true |
| extends: |
| - eslint:recommended |
| - plugin:prettier/recommended |
| rules: |
| func-style: |
| - error |
| - "expression" |
| prettier/prettier: |
| - error |
| - printWidth: 120 |
| valid-jsdoc: |
| - error |
| - requireParamType: false |
| requireReturnType: false |
| requireReturn: false |