Skip to content

Commit

Permalink
Merge pull request #192 from near-projects/dev
Browse files Browse the repository at this point in the history
v2.0.0 Release (dev -> main)
  • Loading branch information
lewis-sqa committed Mar 9, 2022
2 parents 27581c2 + 31a8d34 commit 3fe62e5
Show file tree
Hide file tree
Showing 136 changed files with 43,961 additions and 56,067 deletions.
File renamed without changes.
5 changes: 3 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
node_modules
lib/
example/
examples/react/out/
examples/react/dist/
10 changes: 6 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
root: true,
env: {
commonjs: true,
browser: true,
Expand Down Expand Up @@ -46,6 +47,8 @@ module.exports = {
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/array-type": ["error", { default: "generic" }],
"curly": ["error", "all"],
"eqeqeq": ["error", "smart"],
"default-case": "off",
"no-caller": "error",
Expand All @@ -61,13 +64,11 @@ module.exports = {
"no-unused-expressions": "error",
"radix": ["error", "as-needed"],
"no-restricted-syntax": [
"error",
{
"error", {
"selector": "CallExpression[callee.name!='parseInt'] > Identifier[name='parseInt']",
"message": "Call parseInt directly to guarantee radix param is not incorrectly provided"
},
"error",
{
"error", {
"selector": "CallExpression[callee.name!='parseFloat'] > Identifier[name='parseFloat']",
"message": "Call parseFloat directly to guarantee radix param is not incorrectly provided"
}
Expand All @@ -88,4 +89,5 @@ module.exports = {
version: "detect",
},
},
ignorePatterns: ["**/*.js"],
}
10 changes: 5 additions & 5 deletions .github/workflows/pr-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
with:
node-version: "16.x"
- name: Install NPM Dependencies
run: npm install
run: yarn install
- name: Run Build
run: npm run build
run: yarn build
- name: Run Linting
run: npm run lint
run: yarn lint
- name: Run Unit & Integration Tests
run: npm test
run: yarn test
# - name: Install Playwright Dependencies
# run: sudo npx playwright install-deps
# - name: Run End-to-End Tests
# run: npm run test:e2e
# run: yarn test:e2e
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@

# IDEs and editors
/.idea
/.vscode
14 changes: 14 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",
"syler.sass-indented"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [
"esbenp.prettier-vscode"
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"eslint.format.enable": true,
"prettier.enable": false
}
File renamed without changes.
Loading

0 comments on commit 3fe62e5

Please sign in to comment.