my-orders-tickets-widget 1.0.0-beta.1 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my-orders-tickets-widget",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0-beta.2",
4
4
  "main": "index.js",
5
5
  "author": "smarcet <smarcet@gmail.com>",
6
6
  "license": "Apache-2.0",
@@ -12,7 +12,7 @@
12
12
  "test": "jest",
13
13
  "prepare": "husky",
14
14
  "lint": "eslint src",
15
- "precommit": "npx lint-staged --diff=origin/main --verbose"
15
+ "precommit": "npx lint-staged --verbose"
16
16
  },
17
17
  "lint-staged": {
18
18
  "*.{js,jsx}": "eslint --fix",
package/.editorconfig DELETED
@@ -1,10 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- insert_final_newline = true
9
- trim_trailing_whitespace = true
10
- max_line_length = 80
package/.env DELETED
@@ -1,2 +0,0 @@
1
- ACCESS_TOKEN="gwTl5CaCZD8Du6E0GrEJwpiK8W4t4tqp_Khb_PdH6upEAKK7oQLe6KOb4LtR.YbWYEMGsP8gHOSmc8tBMSM30THz9cQST49GH2Wka2WJR7VmKfGVWkQjJfOn28HJhmvD"
2
- API_BASE_URL=https://api.dev.fnopen.com
package/.env.template DELETED
File without changes
package/.eslintrc.json DELETED
@@ -1,42 +0,0 @@
1
- {
2
- "env": {
3
- "browser": true,
4
- "es2021": true
5
- },
6
- "extends": ["plugin:react/recommended", "airbnb", "prettier"],
7
- "parser": "@babel/eslint-parser",
8
- "parserOptions": {
9
- "ecmaFeatures": {
10
- "jsx": true
11
- },
12
- "ecmaVersion": 12,
13
- "sourceType": "module"
14
- },
15
- "plugins": ["react"],
16
- "rules": {
17
- "quotes": ["error", "double"],
18
- "react/jsx-filename-extension": ["warn", { "extensions": [".js", ".jsx"] }],
19
- "import/no-extraneous-dependencies": "warn",
20
- "react/no-unused-class-component-methods": "warn",
21
- "class-methods-use-this": "warn",
22
- "import/no-unresolved": "warn",
23
- "no-underscore-dangle": "warn",
24
- "camelcase": "warn",
25
- "react/forbid-prop-types": "warn",
26
- "no-magic-numbers": [
27
- "error",
28
- { "ignoreArrayIndexes": true, "ignore": [0] }
29
- ],
30
- "import/no-dynamic-require": "warn",
31
- "no-shadow": "warn",
32
- "global-require": "warn",
33
- "no-param-reassign": "warn",
34
- "react/require-default-props": "warn",
35
- "react/prop-types": "warn",
36
- "react/jsx-no-useless-fragment": "warn",
37
- "import/prefer-default-export": "warn",
38
- "no-plusplus": "off",
39
- "no-continue": "off"
40
- },
41
- "ignorePatterns": ["src/__mocks__"]
42
- }
@@ -1,15 +0,0 @@
1
- name: es-lint
2
-
3
- on: [push, pull_request]
4
- jobs:
5
- build:
6
- runs-on: ubuntu-latest
7
- steps:
8
- - uses: actions/checkout@v3
9
- with:
10
- fetch-depth: 0
11
- - uses: actions/setup-node@v3
12
- with:
13
- node-version: 18
14
- - run: yarn install
15
- - run: npx lint-staged --diff=origin/main --verbose
package/.husky/pre-commit DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
- yarn precommit
package/babel.config.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "presets": [
3
- "@babel/preset-env",
4
- [
5
- "@babel/preset-react",
6
- {
7
- "runtime": "automatic"
8
- }
9
- ]
10
- ],
11
- "plugins": [
12
- [ "@babel/plugin-transform-runtime", { "regenerator": true } ]
13
- ]
14
- }