Skip to content

Commit

Permalink
patch: rc files
Browse files Browse the repository at this point in the history
  • Loading branch information
vHeemstra committed Jul 10, 2024
1 parent 3ce832e commit 2ff91b2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
30 changes: 30 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* eslint-env node */
module.exports = {
env: {
commonjs: false,
es2021: true,
node: true,
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
overrides: [
{
env: {
jest: true,
},
files: ["test/**"],
plugins: ["jest"],
extends: ["plugin:jest/recommended"],
rules: {},
},
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
};
30 changes: 0 additions & 30 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions .prettierrc.js → .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
trailingComma: 'es5',
module.exports = {
trailingComma: "es5",
tabWidth: 2,
semi: true,
singleQuote: true,
Expand Down

0 comments on commit 2ff91b2

Please sign in to comment.