Skip to content

Commit

Permalink
fix: add root: true to eslint configs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Mar 29, 2022
1 parent 43f0d25 commit bd24358
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const localConfigs = readdir(__dirname)
.map((file) => `./${file}`)

module.exports = {
root: true,
extends: [
'@npmcli',
...localConfigs,
Expand Down
1 change: 1 addition & 0 deletions lib/content/eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const localConfigs = readdir(__dirname)
.map((file) => `./${file}`)

module.exports = {
root: true,
extends: [
'@npmcli',
...localConfigs,
Expand Down
4 changes: 4 additions & 0 deletions tap-snapshots/test/apply/full-content.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const localConfigs = readdir(__dirname)
.map((file) => \`./\${file}\`)
module.exports = {
root: true,
extends: [
'@npmcli',
...localConfigs,
Expand Down Expand Up @@ -503,6 +504,7 @@ const localConfigs = readdir(__dirname)
.map((file) => \`./\${file}\`)
module.exports = {
root: true,
extends: [
'@npmcli',
...localConfigs,
Expand Down Expand Up @@ -1222,6 +1224,7 @@ const localConfigs = readdir(__dirname)
.map((file) => \`./\${file}\`)
module.exports = {
root: true,
extends: [
'@npmcli',
...localConfigs,
Expand Down Expand Up @@ -1297,6 +1300,7 @@ const localConfigs = readdir(__dirname)
.map((file) => \`./\${file}\`)
module.exports = {
root: true,
extends: [
'@npmcli',
...localConfigs,
Expand Down

0 comments on commit bd24358

Please sign in to comment.