Skip to content

Commit

Permalink
Updated follow GeoView Core Core progress
Browse files Browse the repository at this point in the history
Synching ClipZipShip with latest GeoView Core, crazy progress. Unfinished.
Cleanup and tooltip placement
Styling
Minor ui fix
  • Loading branch information
Alex-NRCan committed Nov 16, 2023
1 parent d9f25a6 commit 8887a67
Show file tree
Hide file tree
Showing 27 changed files with 6,650 additions and 3,396 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
dist/
88 changes: 88 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"extends": [
"airbnb",
"prettier",
"airbnb/hooks",
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"env": {
"browser": true
},
"plugins": ["prettier", "@typescript-eslint", "react-hooks"],
"root": true,
"settings": {
"import/resolver": {
"node": {
"alias": {
"map": [
["@", "./src"],
["@public", "./public"]
]
},
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-function-return-type": "off",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".ts", ".tsx"]
}
],
"import/prefer-default-export": "off",
"react/no-find-dom-node": 0,
"class-methods-use-this": "off",
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["to", "hrefLeft", "hrefRight"],
"aspects": ["noHref", "invalidHref", "preferButton"]
}
],
"import/extensions": "off",
"no-plusplus": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": "error",
"no-shadow": "off",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-explicit-any": "error",
"react-hooks/rules-of-hooks": "error", // Checks rules of Hooks
"react-hooks/exhaustive-deps": "warn", // Checks effect dependencies
"react/jsx-props-no-spreading": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"no-restricted-imports": [
"error",
{
"patterns": ["@material-ui/*/*/*", "!@material-ui/core/test-utils/*"]
}
],
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"require-await": 2 // error
},
"overrides": [
{
// enable the rule specifically for TypeScript files
"files": ["*.ts", "*.mts", "*.cts", "*.tsx"],
"rules": {
"@typescript-eslint/explicit-function-return-type": "error"
}
}
]
}
76 changes: 68 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,68 @@
/node_modules
/dist/index.html
/dist/main.js
/dist/main.js.LICENSE.txt
/src/!del_features_list.tsx
/dist/czs-config.js
/dist/index-fr.html
/dist
# Builds
*/**/lib
*/**/tsclib
*/**/dist
dist/

# Editor
.vscode

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

87 changes: 87 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-lock.yaml*
**/log
**/logs

# Runtime data
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
**/coverage
**/analysis

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
**/build
**/dist

# Dependency directories
**/node_modules
**/jspm_packages
**/.pnp
.pnp.js

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# next.js build output
.next

# OS X temporary files
.DS_Store

# Rush temporary files
**/common/deploy
common/autoinstallers/*/.npmrc
common/config/rush/pnpm-lock.yaml
**/.rush/temp/

# Common toolchain intermediate files
**/lib
**/temp

.idea/
.github/

rush.json
common/
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"printWidth": 140,
"tabWidth": 2,
"singleQuote": true,
"bracketSpacing": true,
"semi": true,
"arrowParens": "always",
"endOfLine": "lf"
}
Loading

0 comments on commit 8887a67

Please sign in to comment.