Skip to content

Commit

Permalink
build: eslint yml extension
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Jan 8, 2024
1 parent ddd750f commit 1a12e8f
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.*
node_modules
!.eslintrc
!.eslintrc.yml
!.github
!.gitignore
!.husky
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@

env:
commonjs: true
es6: true
node: true
commonjs: true
es6: true
node: true
extends: "eslint:recommended"
globals:
Atomics: "readonly"
SharedArrayBuffer: "readonly"
Atomics: "readonly"
SharedArrayBuffer: "readonly"
parserOptions:
ecmaVersion: 2020
sourceType: "module"
ecmaVersion: 2020
sourceType: "module"
rules:
no-var: "error"
semi: "error"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@

env:
commonjs: true
es6: true
node: true
commonjs: true
es6: true
node: true
extends: "eslint:recommended"
globals:
Atomics: "readonly"
SharedArrayBuffer: "readonly"
Atomics: "readonly"
SharedArrayBuffer: "readonly"
parserOptions:
ecmaVersion: 2020
sourceType: "module"
ecmaVersion: 2020
sourceType: "module"
rules:
no-var: "error"
semi: "error"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@

env:
commonjs: true
es6: true
node: true
commonjs: true
es6: true
node: true
extends: "eslint:recommended"
globals:
Atomics: "readonly"
SharedArrayBuffer: "readonly"
Atomics: "readonly"
SharedArrayBuffer: "readonly"
parserOptions:
ecmaVersion: 2020
sourceType: "module"
ecmaVersion: 2020
sourceType: "module"
rules:
no-var: "error"
semi: "error"
Expand Down
15 changes: 7 additions & 8 deletions packages/csv/.eslintrc → packages/csv/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@

env:
commonjs: true
es6: true
node: true
commonjs: true
es6: true
node: true
extends: "eslint:recommended"
globals:
Atomics: "readonly"
SharedArrayBuffer: "readonly"
Atomics: "readonly"
SharedArrayBuffer: "readonly"
parserOptions:
ecmaVersion: 2020
sourceType: "module"
ecmaVersion: 2020
sourceType: "module"
rules:
no-var: "error"
semi: "error"
Expand Down
22 changes: 0 additions & 22 deletions packages/stream-transform/.eslintrc

This file was deleted.

21 changes: 21 additions & 0 deletions packages/stream-transform/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
env:
commonjs: true
es6: true
node: true
extends: "eslint:recommended"
globals:
Atomics: "readonly"
SharedArrayBuffer: "readonly"
parserOptions:
ecmaVersion: 2020
sourceType: "module"
rules:
no-var: "error"
semi: "error"
indent: ["error", 2]
linebreak-style: ["error", "unix"]
no-multi-spaces: "error"
space-in-parens: "error"
no-multiple-empty-lines: "error"
prefer-const: "error"
no-use-before-define: "error"

0 comments on commit 1a12e8f

Please sign in to comment.