Skip to content

Commit

Permalink
Merge 1e9d485 into c54692f
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodrig committed Mar 15, 2023
2 parents c54692f + 1e9d485 commit 75518b6
Show file tree
Hide file tree
Showing 38 changed files with 3,416 additions and 2,795 deletions.
127 changes: 0 additions & 127 deletions .eslintrc

This file was deleted.

52 changes: 52 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
module.exports = {
root: true,
env: {
es2022: true,
node: true,
mocha: true,
},
parserOptions: {
ecmaVersion: 13,
project: ['tsconfig.json', 'tsconfig.dev.json'],
sourceType: 'module',
tsconfigRootDir: __dirname,
},
extends: [
'eslint:recommended',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:import/typescript',
'plugin:@typescript-eslint/recommended',
],
parser: '@typescript-eslint/parser',
ignorePatterns: [
'/lib/**/*', // Ignore built files.
],
plugins: [
'@typescript-eslint',
'import',
],
rules: {
// Basic ES6
indent: [
'error', 4, { // use 4 spaces for indents
'SwitchCase': 1, // indent case within switch
}
],
'linebreak-style': 0, // mixed environment let git config enforce line endings
quotes: ['error', 'single'],
semi: ['error', 'always'],
'no-var': 'error',
'no-console': 0, // allow use of console.log,
'arrow-body-style': [0, 'always'],
'max-len': 0,
'camelcase': 1,
'import/no-unresolved': [
'error', {
// https://github.com/firebase/firebase-admin-node/discussions/1359
ignore: ['^firebase-admin/.+'],
},
],
'@typescript-eslint/consistent-type-definitions': 'warn'
},
};
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ node_modules

# Debug logs
npm-debug.log

# Built JavaScript files
lib
32 changes: 23 additions & 9 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
test/
.git*
# Debug Logs
npm-debug.log
.travis.yml
.eslintrc
node_modules
coverage

# Uncompiled Source Files
src

# Node Modules
node_modules/
node_modules/*

# Configuration Files
.eslintrc*
tsconfig*

# Test/Coverage Files
coverage/
coverage/*
.nycrc
.nyc_output
upgrade_guides
tslint.json
_config.yml
.nyc_output/*
.coveralls.yml
lib/test

# Github Configuration Files
_config.yml
.git*
16 changes: 16 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"check-coverage": true,
"all": true,
"include": [
"src/**/!(*.test.*).[tj]s?(x)"
],
"exclude": [
"test/**/*.*"
],
"reporter": [
"lcov",
"text-summary",
"text"
],
"report-dir": "coverage"
}
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2014-2020 Michael Rodrigues
Copyright (c) 2014-Present Michael Rodrigues

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
46 changes: 0 additions & 46 deletions lib/constants.json

This file was deleted.

70 changes: 0 additions & 70 deletions lib/converter.js

This file was deleted.

0 comments on commit 75518b6

Please sign in to comment.