-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df31219
commit 6c0dd93
Showing
97 changed files
with
11,638 additions
and
4,141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
src/types/intl.d.ts | ||
src/luxon.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,33 @@ | ||
module.exports = { | ||
parser: "babel-eslint", | ||
extends: ["standard", "plugin:prettier/recommended"], | ||
plugins: ["import", "prettier", "babel"], | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
project: "./tsconfig.json", | ||
ecmaVersion: "2020", | ||
}, | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"prettier", | ||
"prettier/@typescript-eslint", // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier | ||
], | ||
plugins: ["import", "prettier", "@typescript-eslint"], | ||
rules: { | ||
"linebreak-style": "off", | ||
"one-var": "off", | ||
"spaced-comment": ["error", "always", { exceptions: ["-"] }], | ||
"valid-jsdoc": "off", | ||
"prettier/prettier": "warn", | ||
"prefer-const": ["error", { destructuring: "all" }] | ||
}, | ||
parserOptions: { | ||
ecmaVersion: "2020" | ||
"prefer-const": ["error", { destructuring: "all" }], | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/prefer-includes": "off", // Only available in es2016 | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" }, | ||
], | ||
"@typescript-eslint/unbound-method": "off", | ||
"@typescript-eslint/no-use-before-define": "off", | ||
}, | ||
env: { | ||
es6: true | ||
} | ||
es6: true, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
node_modules | ||
node_modules/ | ||
.tern-port | ||
/build | ||
build/ | ||
transpiled/ | ||
#* | ||
.#* | ||
coverage/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
sudo: true | ||
services: | ||
- docker | ||
- docker | ||
before_install: | ||
- docker pull icambron/luxon | ||
- ./docker/npm install | ||
script: | ||
- ./docker/npm run build | ||
- ./docker/npm run tsc | ||
- ./docker/npm run lint | ||
- ./docker/npm run test | ||
- ./docker/npm run docs | ||
- ./docker/npm run check-doc-coverage | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.