Skip to content

Commit

Permalink
chore: review qa and eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
blephy committed Jul 3, 2022
1 parent 2c8454a commit c0997b8
Show file tree
Hide file tree
Showing 9 changed files with 1,935 additions and 1,774 deletions.
1,874 changes: 945 additions & 929 deletions .eslintrc.cjs

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ node_modules
/coverage
/reports
/monitor
/e2e-tests/cypress/screenshots
/e2e-tests/cypress/videos
/storybook-build
cypress/screenshots
cypress/videos

# Compiled source #
###################
Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

[ -n "$CI" ] && exit 0

npx --no -- commitlint --edit "\${1}"
npx --no -- commitlint --edit
17 changes: 8 additions & 9 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,20 @@
"dictionaries": ["softwareTerms", "typescript", "node", "html", "css", "bash", "npm"],
"words": [
"blephy",
"browserslistrc",
"circleci",
"dollé",
"nocheck",
"browserslistrc",
"stylelintrc",
"npmrc",
"yalc",
"webp",
"webm",
"lcov",
"npmrc",
"pinst",
"rxstate",
"sonarjs"
"sonarjs",
"stylelintrc",
"webm",
"webp",
"yalc"
],
"ignoreWords": ["nocheck", "iife", "isnan", "testem", "ehthumbs", "dccache"],
"ignoreWords": ["nocheck", "iife", "isnan", "testem", "ehthumbs", "dccache", "arca"],
"flagWords": ["hte"],
"ignorePaths": [
"**/node_modules/**",
Expand Down
2 changes: 1 addition & 1 deletion lint-staged.config.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
'package.json': ['yarn format:packagejson', 'yarn lint:packagejson', 'yarn check:packagejson'],
'package.json': ['yarn check:packagejson'],
'**/*.ts': () => ['tsc -p tsconfig.json --noEmit', 'jest -o'],
'**/*.{ts,js}': (filenames) => `eslint ${filenames.join(' ')} --fix --cache`,
'*': (filenames) => `prettier --ignore-unknown --write ${filenames.join(' ')}`,
Expand Down
80 changes: 0 additions & 80 deletions npmpackagejsonlint.config.cjs

This file was deleted.

40 changes: 19 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,10 @@
"format:ci": "prettier --check .",
"format:fix": "prettier --write .",
"format:markdown": "markdownlint-cli2-fix '**/*.md'",
"format:packagejson": "prettier-package-json --write ./package.json",
"postinstall": "husky install",
"lint:ci": "eslint . --ext js,ts --format json -o reports/eslint/simple-rxstate-eslint-junit.json",
"lint:fix": "eslint . --ext js,ts --fix",
"lint:markdown": "markdownlint-cli2 '**/*.md'",
"lint:packagejson": "npmPkgJsonLint .",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"semantic-release": "semantic-release",
Expand All @@ -55,47 +53,47 @@
"rxjs": "^7.5.5"
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@commitlint/cz-commitlint": "^17.0.0",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@commitlint/cz-commitlint": "^17.0.3",
"@skypack/package-check": "^0.2.2",
"@stryker-mutator/core": "^6.0.2",
"@stryker-mutator/jest-runner": "^6.0.2",
"@stryker-mutator/typescript-checker": "^6.0.2",
"@types/jest": "^28.1.2",
"@stryker-mutator/core": "^6.1.2",
"@stryker-mutator/jest-runner": "^6.1.2",
"@stryker-mutator/typescript-checker": "^6.1.2",
"@types/jest": "^28.1.4",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.30.4",
"@typescript-eslint/parser": "^5.30.4",
"commitizen": "^4.2.4",
"cspell": "^6.1.2",
"eslint": "^8.17.0",
"cspell": "^6.2.2",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.0.0",
"eslint-import-resolver-typescript": "^3.2.0",
"eslint-plugin-arca": "^0.15.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-jsdoc": "^39.3.2",
"eslint-plugin-jsdoc": "^39.3.3",
"eslint-plugin-n": "^15.2.3",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-rxjs": "^5.0.2",
"eslint-plugin-sonarjs": "^0.13.0",
"eslint-plugin-sort-exports": "^0.6.0",
"eslint-plugin-unicorn": "^43.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.1",
"inquirer": "^9.0.0",
"jest": "^28.1.1",
"inquirer": "^8.2.4",
"jest": "^28.1.2",
"jest-junit": "^14.0.0",
"lint-staged": "^13.0.2",
"lint-staged": "^13.0.3",
"markdownlint-cli2": "^0.4.0",
"npm-package-json-lint": "^6.3.0",
"pinst": "^3.0.0",
"prettier": "^2.7.1",
"prettier-package-json": "^2.6.3",
"semantic-release": "^19.0.3",
"semantic-release-npm-github-publish": "^1.5.1",
"ts-jest": "^28.0.5",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
},
"packageManager": "yarn@3.2.1",
"engines": {
Expand Down
71 changes: 0 additions & 71 deletions prettier-package-json.config.cjs

This file was deleted.

Loading

0 comments on commit c0997b8

Please sign in to comment.