Skip to content

Commit

Permalink
Merge pull request #468 from GSA/master
Browse files Browse the repository at this point in the history
August Front-end Release - v1.3.0
  • Loading branch information
anna-zhang authored Aug 7, 2020
2 parents 8170115 + 37bf70a commit 891b6e6
Show file tree
Hide file tree
Showing 434 changed files with 64,993 additions and 32,682 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- run: npm run build # needed because the policy and about plugin components are added during the build step
- run: npm run test:ci
- run: npm run lint
- run: npm run start & sleep 5; npm run test-pa11y
- run: npm run test-server & sleep 5; npm run test-pa11y
deploy-bundle-analysis:
docker:
- image: ubuntu
Expand Down
4 changes: 3 additions & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ checks:
threshold: 6
method-lines:
config:
threshold: 50
threshold: 85
exclude_patterns:
- 'src/**/*.test.js'
- 'styles/uswds/'
- 'src/components/federal-agencies/inventory-code/*.js'
- 'src/components/gov-banner/*.js'
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ src/components/plugins
dist/*
docs/*
src/**/**/*.json
styles/uswds/*
styles/uswds/*
*.snap
36 changes: 9 additions & 27 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"extends": [
"airbnb",
"prettier",
"prettier/react"
],
"extends": ["airbnb", "prettier", "prettier/react"],
"globals": {
"document": true,
"window": true
Expand All @@ -12,9 +8,7 @@
"jest": true
},
"parser": "babel-eslint",
"plugins": [
"prettier"
],
"plugins": ["prettier"],
"rules": {
"camelcase": "warn",
"class-methods-use-this": "warn",
Expand All @@ -29,16 +23,15 @@
"global-require": "warn",
"guard-for-in": "warn",
"import/extensions": "ignorePackages",
"import/imports-first": [
"absolute-first",
"error"
],
"import/imports-first": ["absolute-first", "error"],
"import/newline-after-import": "error",
"import/no-dynamic-require": "warn",
"import/no-unresolved": 0,
"import/prefer-default-export": false,
"jsx-a11y/anchor-is-valid": "warn",
"jsx-a11y/label-has-associated-control": "warn",
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/label-has-for": "warn",
"jsx-a11y/no-noninteractive-tabindex": "warn",
"jsx-a11y/no-static-element-interactions": "warn",
"jsx-a11y/tabindex-no-positive": "warn",
Expand All @@ -57,11 +50,7 @@
"allowForLoopAfterthoughts": true
}
],
"no-restricted-syntax": [
"error",
"BinaryExpression[operator='in']",
"WithStatement"
],
"no-restricted-syntax": ["error", "BinaryExpression[operator='in']", "WithStatement"],
"no-script-url": "warn",
"no-shadow": "warn",
"no-template-curly-in-string": "warn",
Expand All @@ -75,22 +64,15 @@
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
"extensions": [".js", ".jsx"]
}
],
"react/jsx-no-bind": "never",
"react/prefer-stateless-function": [
"warn",
{ "ignorePureComponents": true
}
],
"react/prefer-stateless-function": ["warn", { "ignorePureComponents": true }],
"react/no-access-state-in-setstate": "warn",
"react/no-did-update-set-state": "never",
"react/no-string-refs": "warn",
"react/prop-types": 0,
"semi": [2, "never"]
}
}
}
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,19 @@ typings/

# .DS_Store
.DS_Store

# Cypress files
cypress.env.json

# cypress videos
cypress/videos/*

# VS Code Development Files
.vscode/

# env files
.env.local
.env.development.local
.env.test.local
.env.production.local
.env
21 changes: 9 additions & 12 deletions .pa11yci
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,16 @@
}
},
"urls": [
"http://localhost:8080/projects/gsa_18f_1_10x_product_market_research",
"http://localhost:8080/projects/nsa_1_atomicwatch",
"http://localhost:8080/projects/dod_nci_agency_1_anet",
"http://localhost:8080/",
"http://localhost:8080/browse-projects",
"http://localhost:8080/about/overview/introduction",
"http://localhost:8080/about/overview/tracking-progress",
"http://localhost:8080/projects/treasury_bureau_fiscal_service_bfs_1_data_act_broker_backend",
"http://localhost:8080/search?page=1&query=javascript&size=10&sort=best_match",
"http://localhost:8080/federal-agencies/compliance/dashboard",
"http://localhost:8080/federal-agencies/compliance/procurement",
"http://localhost:8080/federal-agencies/compliance/inventory-code",
"http://localhost:8080/open-tasks",
"http://localhost:8080/about/compliance/dashboard",
"http://localhost:8080/about/compliance/procurement",
"http://localhost:8080/about/compliance/inventory-code",
"http://localhost:8080/about/open-source/introduction",
"http://localhost:8080/about/open-source/resources",
"http://localhost:8080/about/open-source/measuring-code",
"http://localhost:8080/about/open-source/licensing"
"http://localhost:8080/about-page",
"http://localhost:8080/roadmap",
"http://localhost:8080/privacy-policy"
]
}
Loading

0 comments on commit 891b6e6

Please sign in to comment.