Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ orbs:
jobs:
build:
docker:
- image: cimg/node:20.10.0
- image: cimg/node:20.19.0

steps:
- checkout
Expand Down
1 change: 1 addition & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = defineConfig([
{
files: ['packages/**/*.{js,cjs,mjs}'],
languageOptions: {
ecmaVersion: 2020,
globals: {
...globals.node,
...globals.es2018,
Expand Down
1 change: 0 additions & 1 deletion fixtures/async-throttle/init-snapshot/.babelrc.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
module.exports = function (api) {
const base = require('@jcoreio/toolchain-esnext/.babelrc.cjs')(api)
return {
Expand Down
1 change: 0 additions & 1 deletion fixtures/async-throttle/init-snapshot/.mocharc.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain-mocha/.mocharc.cjs')
const { getSpecs } = require('@jcoreio/toolchain-mocha')
module.exports = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain/lint-staged.config.cjs')
module.exports = {
...base,
Expand Down
8 changes: 4 additions & 4 deletions fixtures/async-throttle/init-snapshot/dist/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions fixtures/async-throttle/init-snapshot/eslint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,10 @@ module.exports = defineConfig([
},
},
},
{
files: ['test/configure.js', 'test/clearConsole.js'],
languageOptions: {
globals: globals.node,
},
},
])
1 change: 0 additions & 1 deletion fixtures/async-throttle/init-snapshot/githooks.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain/githooks.cjs')
module.exports = {
...base,
Expand Down
1 change: 0 additions & 1 deletion fixtures/async-throttle/init-snapshot/nyc.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain-mocha/nyc.config.cjs')
module.exports = {
...base,
Expand Down
8 changes: 4 additions & 4 deletions fixtures/async-throttle/init-snapshot/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion fixtures/async-throttle/init-snapshot/prettier.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain/prettierConfig.cjs')
module.exports = {
...base,
Expand Down
1 change: 0 additions & 1 deletion fixtures/async-throttle/init-snapshot/release.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
module.exports = {
extends: [
require.resolve('@jcoreio/toolchain-semantic-release/release.config.cjs'),
Expand Down
2 changes: 0 additions & 2 deletions fixtures/async-throttle/init-snapshot/test/clearConsole.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-env node */

if (process.argv.indexOf('--watch') >= 0) {
before(() => process.stdout.write('\u001b[2J\u001b[1;1H\u001b[3J'))
}
2 changes: 0 additions & 2 deletions fixtures/async-throttle/init-snapshot/test/configure.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-env node */

if (process.argv.indexOf('--watch') >= 0) {
before(() => process.stdout.write('\u001b[2J\u001b[1;1H\u001b[3J'))
}
1 change: 0 additions & 1 deletion fixtures/async-throttle/init-snapshot/toolchain.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
module.exports = {
cjsBabelEnv: { targets: { node: 16 } },
esmBabelEnv: { targets: { node: 16 } },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain/lint-staged.config.cjs')
module.exports = {
...base,
Expand Down
24 changes: 12 additions & 12 deletions fixtures/async-throttle/upgrade-snapshot/dist/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions fixtures/async-throttle/upgrade-snapshot/eslint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,10 @@ module.exports = defineConfig([
},
},
},
{
files: ['test/clearConsole.js'],
languageOptions: {
globals: globals.node,
},
},
])
1 change: 0 additions & 1 deletion fixtures/async-throttle/upgrade-snapshot/githooks.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain/githooks.cjs')
module.exports = {
...base,
Expand Down
1 change: 0 additions & 1 deletion fixtures/async-throttle/upgrade-snapshot/nyc.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain-mocha/nyc.config.cjs')
module.exports = {
...base,
Expand Down
24 changes: 12 additions & 12 deletions fixtures/async-throttle/upgrade-snapshot/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain/prettierConfig.cjs')
module.exports = {
...base,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
module.exports = {
extends: [
require.resolve('@jcoreio/toolchain-semantic-release/release.config.cjs'),
Expand Down
2 changes: 0 additions & 2 deletions fixtures/async-throttle/upgrade-snapshot/test/clearConsole.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-env node */

if (process.argv.indexOf('--watch') >= 0) {
before(() => process.stdout.write('\u001b[2J\u001b[1;1H\u001b[3J'))
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
module.exports = {
cjsBabelEnv: { targets: { node: 16 } },
esmBabelEnv: { targets: { node: 16 } },
Expand Down
1 change: 0 additions & 1 deletion fixtures/find-cycle/init-snapshot/.mocharc.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain-mocha/.mocharc.cjs')
const { getSpecs } = require('@jcoreio/toolchain-mocha')
module.exports = {
Expand Down
1 change: 0 additions & 1 deletion fixtures/find-cycle/init-snapshot/_lint-staged.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain/lint-staged.config.cjs')
module.exports = {
...base,
Expand Down
Loading