Skip to content

Commit

Permalink
chore(templates): convert all .eslintrc files to JS (#4302)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Oct 15, 2022
1 parent 737f518 commit 4167427
Show file tree
Hide file tree
Showing 18 changed files with 39 additions and 30 deletions.
6 changes: 0 additions & 6 deletions packages/remix-server-runtime/__tests__/.eslintrc

This file was deleted.

7 changes: 7 additions & 0 deletions packages/remix-server-runtime/__tests__/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
rules: {
"no-restricted-globals": "off",
"import/no-nodejs-modules": "off",
},
};
3 changes: 0 additions & 3 deletions templates/arc/.eslintrc

This file was deleted.

4 changes: 4 additions & 0 deletions templates/arc/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"],
};
3 changes: 0 additions & 3 deletions templates/cloudflare-pages/.eslintrc

This file was deleted.

4 changes: 4 additions & 0 deletions templates/cloudflare-pages/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"],
};
3 changes: 0 additions & 3 deletions templates/cloudflare-workers/.eslintrc

This file was deleted.

4 changes: 4 additions & 0 deletions templates/cloudflare-workers/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"],
};
3 changes: 0 additions & 3 deletions templates/express/.eslintrc

This file was deleted.

4 changes: 4 additions & 0 deletions templates/express/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"],
};
3 changes: 0 additions & 3 deletions templates/fly/.eslintrc

This file was deleted.

4 changes: 4 additions & 0 deletions templates/fly/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"],
};
3 changes: 0 additions & 3 deletions templates/netlify/.eslintrc

This file was deleted.

4 changes: 4 additions & 0 deletions templates/netlify/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"],
};
3 changes: 0 additions & 3 deletions templates/remix/.eslintrc

This file was deleted.

4 changes: 4 additions & 0 deletions templates/remix/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"],
};
3 changes: 0 additions & 3 deletions templates/vercel/.eslintrc

This file was deleted.

4 changes: 4 additions & 0 deletions templates/vercel/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"],
};

0 comments on commit 4167427

Please sign in to comment.