Skip to content

Commit

Permalink
feature: supertape: eslint v9.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Apr 24, 2024
1 parent 7e10fde commit 8f83bd9
Show file tree
Hide file tree
Showing 52 changed files with 121 additions and 138 deletions.
10 changes: 0 additions & 10 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ yarn-error.log
fixture

coverage
*.config.*
3 changes: 2 additions & 1 deletion .nycrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"exclude": [
"**/lib/**/{fixture,*.spec.{js,mjs}}",
".*",
"**/packages/supertape/bin/*.mjs"
"**/packages/supertape/bin/*.mjs",
"**/*.config.*"
],
"branches": 100,
"lines": 100,
Expand Down
6 changes: 6 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import {safeAlign} from 'eslint-plugin-putout/config';
import {createESLintConfig, mergeESLintConfigs} from '@putout/eslint-flat';

const config = await mergeESLintConfigs('./packages');

export default createESLintConfig([safeAlign, config]);
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@
"prepare": "madrun prepare"
},
"devDependencies": {
"@putout/eslint-flat": "^1.0.4",
"c8": "^9.0.0",
"check-dts": "^0.7.0",
"eslint": "^8.5.0",
"eslint": "^9.1.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-putout": "^22.0.0",
"husky": "^6.0.0",
Expand All @@ -47,6 +48,8 @@
"engines": {
"node": ">=18"
},
"workspaces": ["packages/*"],
"workspaces": [
"packages/*"
],
"dependencies": {}
}
10 changes: 0 additions & 10 deletions packages/engine-loader/.eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/engine-loader/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ coverage

fixture

*.config.*
6 changes: 5 additions & 1 deletion packages/engine-loader/.nycrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"check-coverage": true,
"all": true,
"exclude": [".*", "{bin,lib}/**/{fixture,*.spec.{js,mjs}}"],
"exclude": [
".*",
"{bin,lib}/**/{fixture,*.spec.{js,mjs}}",
"**/*.config.*"
],
"branches": 100,
"lines": 100,
"functions": 100,
Expand Down
3 changes: 3 additions & 0 deletions packages/engine-loader/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {safeAlign} from 'eslint-plugin-putout/config';

export default safeAlign;
2 changes: 1 addition & 1 deletion packages/engine-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"devDependencies": {
"@supertape/operator-stub": "*",
"c8": "^9.0.0",
"eslint": "^8.0.0-beta.0",
"eslint": "^9.1.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-putout": "^22.0.0",
"madrun": "^10.0.0",
Expand Down
10 changes: 0 additions & 10 deletions packages/formatter-fail/.eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/formatter-fail/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ coverage

fixture

*.config.*
6 changes: 5 additions & 1 deletion packages/formatter-fail/.nycrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"check-coverage": true,
"all": true,
"exclude": [".*", "{bin,lib}/**/{fixture,*.spec.{js,mjs}}"],
"exclude": [
".*",
"{bin,lib}/**/{fixture,*.spec.{js,mjs}}",
"**/*.config.*"
],
"branches": 100,
"lines": 100,
"functions": 100,
Expand Down
3 changes: 3 additions & 0 deletions packages/formatter-fail/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {safeAlign} from 'eslint-plugin-putout/config';

export default safeAlign;
2 changes: 1 addition & 1 deletion packages/formatter-fail/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"devDependencies": {
"@babel/core": "^7.12.9",
"c8": "^9.0.0",
"eslint": "^8.0.0-beta.0",
"eslint": "^9.1.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-putout": "^22.0.0",
"madrun": "^10.0.0",
Expand Down
10 changes: 0 additions & 10 deletions packages/formatter-json-lines/.eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/formatter-json-lines/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ coverage

fixture

*.config.*
6 changes: 5 additions & 1 deletion packages/formatter-json-lines/.nycrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"check-coverage": true,
"all": true,
"exclude": [".*", "{bin,lib}/**/{fixture,*.spec.{js,mjs}}"],
"exclude": [
".*",
"{bin,lib}/**/{fixture,*.spec.{js,mjs}}",
"**/*.config.*"
],
"branches": 100,
"lines": 100,
"functions": 100,
Expand Down
3 changes: 3 additions & 0 deletions packages/formatter-json-lines/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {safeAlign} from 'eslint-plugin-putout/config';

export default safeAlign;
2 changes: 1 addition & 1 deletion packages/formatter-json-lines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
],
"devDependencies": {
"c8": "^9.0.0",
"eslint": "^8.0.0-beta.0",
"eslint": "^9.1.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-putout": "^22.0.0",
"madrun": "^10.0.0",
Expand Down
10 changes: 0 additions & 10 deletions packages/formatter-progress-bar/.eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/formatter-progress-bar/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ coverage

fixture

*.config.*
6 changes: 5 additions & 1 deletion packages/formatter-progress-bar/.nycrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"check-coverage": true,
"all": true,
"exclude": [".*", "{bin,lib}/**/{fixture,*.spec.{js,mjs}}"],
"exclude": [
".*",
"{bin,lib}/**/{fixture,*.spec.{js,mjs}}",
"**/*.config.*"
],
"branches": 100,
"lines": 100,
"functions": 100,
Expand Down
3 changes: 3 additions & 0 deletions packages/formatter-progress-bar/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {safeAlign} from 'eslint-plugin-putout/config';

export default safeAlign;
2 changes: 1 addition & 1 deletion packages/formatter-progress-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"devDependencies": {
"c8": "^9.0.0",
"eslint": "^8.0.0-beta.0",
"eslint": "^9.1.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-putout": "^22.0.0",
"madrun": "^10.0.0",
Expand Down
10 changes: 0 additions & 10 deletions packages/formatter-short/.eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/formatter-short/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ coverage

fixture

*.config.*
6 changes: 5 additions & 1 deletion packages/formatter-short/.nycrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"check-coverage": true,
"all": true,
"exclude": [".*", "{bin,lib}/**/{fixture,*.spec.{js,mjs}}"],
"exclude": [
".*",
"{bin,lib}/**/{fixture,*.spec.{js,mjs}}",
"**/*.config.*"
],
"branches": 100,
"lines": 100,
"functions": 100,
Expand Down
3 changes: 3 additions & 0 deletions packages/formatter-short/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {safeAlign} from 'eslint-plugin-putout/config';

export default safeAlign;
2 changes: 1 addition & 1 deletion packages/formatter-short/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"devDependencies": {
"c8": "^9.0.0",
"eslint": "^8.0.0-beta.0",
"eslint": "^9.1.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-putout": "^22.0.0",
"madrun": "^10.0.0",
Expand Down
10 changes: 0 additions & 10 deletions packages/formatter-tap/.eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/formatter-tap/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ coverage

fixture

*.config.*
6 changes: 5 additions & 1 deletion packages/formatter-tap/.nycrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"check-coverage": true,
"all": true,
"exclude": [".*", "{bin,lib}/**/{fixture,*.spec.{js,mjs}}"],
"exclude": [
".*",
"{bin,lib}/**/{fixture,*.spec.{js,mjs}}",
"**/*.config.*"
],
"branches": 100,
"lines": 100,
"functions": 100,
Expand Down
3 changes: 3 additions & 0 deletions packages/formatter-tap/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {safeAlign} from 'eslint-plugin-putout/config';

export default safeAlign;
2 changes: 1 addition & 1 deletion packages/formatter-tap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"devDependencies": {
"c8": "^9.0.0",
"eslint": "^8.0.0-beta.0",
"eslint": "^9.1.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-putout": "^22.0.0",
"madrun": "^10.0.0",
Expand Down
10 changes: 0 additions & 10 deletions packages/formatter-time/.eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/formatter-time/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ coverage

fixture

*.config.*
6 changes: 5 additions & 1 deletion packages/formatter-time/.nycrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"check-coverage": true,
"all": true,
"exclude": [".*", "{bin,lib}/**/{fixture,*.spec.{js,mjs}}"],
"exclude": [
".*",
"{bin,lib}/**/{fixture,*.spec.{js,mjs}}",
"**/*.config.*"
],
"branches": 100,
"lines": 100,
"functions": 100,
Expand Down
3 changes: 3 additions & 0 deletions packages/formatter-time/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {safeAlign} from 'eslint-plugin-putout/config';

export default safeAlign;
2 changes: 1 addition & 1 deletion packages/formatter-time/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
],
"devDependencies": {
"c8": "^9.0.0",
"eslint": "^8.0.0-beta.0",
"eslint": "^9.1.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-putout": "^22.0.0",
"madrun": "^10.0.0",
Expand Down
10 changes: 0 additions & 10 deletions packages/operator-stub/.eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/operator-stub/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ coverage

fixture

*.config.*
6 changes: 5 additions & 1 deletion packages/operator-stub/.nycrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"check-coverage": true,
"all": true,
"exclude": [".*", "{bin,lib}/**/{fixture,*.spec.{js,mjs}}"],
"exclude": [
".*",
"{bin,lib}/**/{fixture,*.spec.{js,mjs}}",
"**/*.config.*"
],
"branches": 100,
"lines": 100,
"functions": 100,
Expand Down
3 changes: 3 additions & 0 deletions packages/operator-stub/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {safeAlign} from 'eslint-plugin-putout/config';

export default safeAlign;
2 changes: 1 addition & 1 deletion packages/operator-stub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"devDependencies": {
"c8": "^9.0.0",
"check-dts": "^0.7.0",
"eslint": "^8.0.0-beta.0",
"eslint": "^9.1.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-putout": "^22.0.0",
"madrun": "^10.0.0",
Expand Down
Loading

0 comments on commit 8f83bd9

Please sign in to comment.