Skip to content

Commit

Permalink
feat!: capital one features and more Fn::*
Browse files Browse the repository at this point in the history
  • Loading branch information
nmccready committed Jan 11, 2024
1 parent 5de12f2 commit 3265793
Show file tree
Hide file tree
Showing 88 changed files with 3,429 additions and 2,125 deletions.
39 changes: 39 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.json]
indent_size = 2

[*.sh]
indent_size = 2

[*.(j|t)s]
indent_size = 2
quote_type = single

[*.go]
indent_style = tab
indent_size = 4

[*.md]
trim_trailing_whitespace = false
indent_size = 2

[Makefile]
indent_style = tab
indent_size = 4
[*.mk]
indent_style = tab
indent_size = 4

[Jenkinsfile]
indent_size = 4
indent_style = tab
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
node_modules/**/*.js
dist
lib
tmp
41 changes: 41 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
const prettier = require('./.prettierrc');

module.exports = {
extends: ['eslint-config-standard', 'plugin:prettier/recommended'],
rules: {
'max-len': ['error', { code: prettier.printWidth, ignoreUrls: true }], // KEEP THIS IN SYNC
strict: 0,
'arrow-parens': ['error', 'always'],
'consistent-return': 0,
'no-param-reassign': 0,
'func-names': 0,
'no-use-before-define': 0,
'one-var': 0,
'prefer-destructuring': 0,
'no-template-curly-in-string': 0,
'prefer-template': 0,
'prefer-const': 0,
'promise/avoid-new': 0,
'promise/always-return': 0,
'promise/no-nesting': 0,
'promise/no-return-wrap': 0,
'promise/no-callback-in-promise': 0,
'promise/no-promise-in-callback': 0,
semi: ['error', 'always'],
// 'comma-dangle': ['error', 'always-multiline'],
},
overrides: [
{
files: ['t/**/*.js', 'workspaces/**/*.test.js'],
plugins: ['mocha'],
env: {
mocha: true,
node: true,
},
rules: {
'mocha/valid-suite-description': 0,
'mocha/valid-test-description': 0,
},
},
],
};
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ build/Release
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
tmp
temp

yarn.lock
package-lock.json
11 changes: 11 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
Prettier is more for vscode to keep it behaving in line w eslint.
*/
module.exports = {
useTabs: false,
printWidth: 95,
tabWidth: 2,
singleQuote: true,
trailingComma: 'es5',
arrowParens: 'always',
};
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
language: node_js
node_js:
- stable
- 10
- 8
language: node_js
node_js:
- stable
- 14
- 12
Loading

0 comments on commit 3265793

Please sign in to comment.