File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 "prefer-arrow-callback" : 2 ,
1616 "@typescript-eslint/ban-ts-comment" : 0 ,
1717 "@typescript-eslint/ban-types" : 1 ,
18- "@typescript-eslint/no-empty-function" : 1
19- },
18+ "@typescript-eslint/no-empty-function" : 1 ,
19+ // disable the rule for all files
20+ "@typescript-eslint/explicit-member-accessibility" : " off"
21+ },
22+ "overrides" : [
23+ {
24+ // enable the rule specifically for TypeScript files
25+ "files" : [" *.ts" , " *.tsx" ],
26+ "rules" : {
27+ "@typescript-eslint/explicit-member-accessibility" : [
28+ 1 , {
29+ "accessibility" : " explicit" ,
30+ "overrides" : {
31+ "accessors" : " explicit" ,
32+ "constructors" : " no-public" ,
33+ "methods" : " explicit" ,
34+ "properties" : " explicit" ,
35+ "parameterProperties" : " explicit"
36+ }}]
37+ }
38+ }],
2039 "env" : {
2140 "browser" : true ,
2241 "node" : true ,
Original file line number Diff line number Diff line change 1+ {
2+ "files" : [
3+ {
4+ "path" : " dist/index.*.js"
5+ }
6+ ],
7+ "ci" : {
8+ "trackBranches" : [" main" ],
9+ "repoBranchBase" : " main"
10+ }
11+ }
Original file line number Diff line number Diff line change 1+ # Copyright 2021 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ name : Bundlewatch
16+
17+ on :
18+ push :
19+ branches :
20+ - main
21+ pull_request :
22+ types : [synchronize, opened]
23+
24+ jobs :
25+ bundlewatch :
26+ runs-on : ubuntu-latest
27+ env :
28+ CI_BRANCH_BASE : main
29+ steps :
30+ - uses : actions/checkout@v2
31+ - uses : jackyef/bundlewatch-gh-action@b9753bc9b3ea458ff21069eaf6206e01e046f0b5
32+ with :
33+ build-script : npm i
34+ bundlewatch-github-token : ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
35+ bundlewatch-config : .github/bundlewatch.config.json
You can’t perform that action at this time.
0 commit comments