Skip to content

Commit

Permalink
format everything with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgoli committed Jun 8, 2022
1 parent 1f733d1 commit 9560582
Show file tree
Hide file tree
Showing 48 changed files with 3,293 additions and 2,457 deletions.
172 changes: 86 additions & 86 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,122 +3,122 @@ module.exports = {
browser: true,
node: true,
},
extends: ["prettier"],
parser: "@typescript-eslint/parser",
extends: ['prettier'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: "tsconfig.json",
sourceType: "module",
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: [
"eslint-plugin-import",
"eslint-plugin-jsdoc",
"@typescript-eslint",
'eslint-plugin-import',
'eslint-plugin-jsdoc',
'@typescript-eslint',
],
root: true,
rules: {
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/member-delimiter-style": [
"error",
'@typescript-eslint/await-thenable': 'error',
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/member-delimiter-style': [
'error',
{
multiline: {
delimiter: "none",
delimiter: 'none',
requireLast: true,
},
singleline: {
delimiter: "semi",
delimiter: 'semi',
requireLast: false,
},
},
],
"@typescript-eslint/naming-convention": "error",
"@typescript-eslint/no-empty-function": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-unnecessary-qualifier": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-unused-expressions": [
"error",
'@typescript-eslint/naming-convention': 'error',
'@typescript-eslint/no-empty-function': 'error',
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/no-misused-new': 'error',
'@typescript-eslint/no-unnecessary-qualifier': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
'@typescript-eslint/no-unused-expressions': [
'error',
{
allowTaggedTemplates: true,
allowShortCircuit: true,
},
],
"@typescript-eslint/prefer-namespace-keyword": "error",
"@typescript-eslint/quotes": [
"error",
"single",
'@typescript-eslint/prefer-namespace-keyword': 'error',
'@typescript-eslint/quotes': [
'error',
'single',
{
avoidEscape: true,
},
],
"@typescript-eslint/semi": ["error", "never"],
"@typescript-eslint/triple-slash-reference": [
"error",
'@typescript-eslint/semi': ['error', 'never'],
'@typescript-eslint/triple-slash-reference': [
'error',
{
path: "always",
types: "prefer-import",
lib: "always",
path: 'always',
types: 'prefer-import',
lib: 'always',
},
],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unified-signatures": "error",
"brace-style": ["error", "1tbs"],
"comma-dangle": "error",
curly: ["error", "multi-line"],
"eol-last": "error",
eqeqeq: ["error", "smart"],
"id-denylist": [
"error",
"any",
"Number",
"number",
"String",
"string",
"Boolean",
"boolean",
"Undefined",
"undefined",
'@typescript-eslint/type-annotation-spacing': 'error',
'@typescript-eslint/unified-signatures': 'error',
'brace-style': ['error', '1tbs'],
'comma-dangle': 'error',
curly: ['error', 'multi-line'],
'eol-last': 'error',
eqeqeq: ['error', 'smart'],
'id-denylist': [
'error',
'any',
'Number',
'number',
'String',
'string',
'Boolean',
'boolean',
'Undefined',
'undefined',
],
"id-match": "error",
"import/no-deprecated": "error",
"jsdoc/check-alignment": "error",
"jsdoc/check-indentation": "error",
"jsdoc/newline-after-description": "error",
"new-parens": "error",
"no-caller": "error",
"no-cond-assign": "error",
"no-constant-condition": "error",
"no-control-regex": "error",
"no-duplicate-imports": "error",
"no-empty": "error",
"no-empty-function": "error",
"no-eval": "error",
"no-fallthrough": "error",
"no-invalid-regexp": "error",
"no-multiple-empty-lines": "error",
"no-redeclare": "error",
"no-regex-spaces": "error",
"no-return-await": "error",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-underscore-dangle": "error",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"no-var": "error",
"one-var": ["error", "never"],
quotes: "error",
radix: "error",
semi: "error",
"space-before-function-paren": ["error", "always"],
"space-in-parens": ["error", "never"],
"spaced-comment": [
"error",
"always",
'id-match': 'error',
'import/no-deprecated': 'error',
'jsdoc/check-alignment': 'error',
'jsdoc/check-indentation': 'error',
'jsdoc/newline-after-description': 'error',
'new-parens': 'error',
'no-caller': 'error',
'no-cond-assign': 'error',
'no-constant-condition': 'error',
'no-control-regex': 'error',
'no-duplicate-imports': 'error',
'no-empty': 'error',
'no-empty-function': 'error',
'no-eval': 'error',
'no-fallthrough': 'error',
'no-invalid-regexp': 'error',
'no-multiple-empty-lines': 'error',
'no-redeclare': 'error',
'no-regex-spaces': 'error',
'no-return-await': 'error',
'no-throw-literal': 'error',
'no-trailing-spaces': 'error',
'no-underscore-dangle': 'error',
'no-unused-expressions': 'error',
'no-unused-labels': 'error',
'no-var': 'error',
'one-var': ['error', 'never'],
quotes: 'error',
radix: 'error',
semi: 'error',
'space-before-function-paren': ['error', 'always'],
'space-in-parens': ['error', 'never'],
'spaced-comment': [
'error',
'always',
{
markers: ["/"],
markers: ['/'],
},
],
"use-isnan": "error",
'use-isnan': 'error',
},
}
6 changes: 3 additions & 3 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ Thank you for taking an interest in `rrule`! Please include the following in
your report:

- [ ] Verify that you've looked through existing issues for duplicates before
creating a new one
creating a new one
- [ ] Code sample reproducing the issue. Be sure to include all input values you
are using such as the exact RRule string and dates.
are using such as the exact RRule string and dates.
- [ ] Expected output
- [ ] Actual output
- [ ] The version of `rrule` you are using
- [ ] Your operating system
- [ ] Your local timezone (run `$ date` from the command line
of the machine showing the bug)
of the machine showing the bug)
3 changes: 2 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"semi": false,
"tabWidth": 2,
"useTabs": false
"useTabs": false,
"singleQuote": true
}
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
### Changelog

- 2.7.0 (2022-06-05)

- Features:
- **BREAKING CHANGE** Removes default export in favor of named exports
- Removes Luxon dependency

- 2.6.8 (2021-02-04)

- Bugfixes:
- Solve circular imports (#444)

- 2.6.6 (2020-08-23)

- Bugfixes:
- Fixed broken npm package (#417)

- 2.6.5 (2020-08-23)
- Bugfixes:
- `luxon`-less binary should not contain any `luxon` imports (#410)
- Fixed `toText` pluralization of “minutes“ (#415)
- `luxon`-less binary should not contain any `luxon` imports (#410)
- Fixed `toText` pluralization of “minutes“ (#415)
- 2.6.4 (2019-12-18)
- Bugfixes:
- Calculating series with unknown timezones will produce infinite loop (#320)
Expand Down
Loading

0 comments on commit 9560582

Please sign in to comment.