Skip to content

Commit

Permalink
Merge pull request #54 from brightlayer-ui/dev
Browse files Browse the repository at this point in the history
Publish @brightlayer-ui/[email protected]
  • Loading branch information
EvanMcLaughlin-eaton authored Jan 14, 2022
2 parents aabbd02 + 0d637b8 commit 87fb1f7
Show file tree
Hide file tree
Showing 4 changed files with 447 additions and 183 deletions.
7 changes: 7 additions & 0 deletions eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v3.0.0 (January 14, 2022)

### Changed

- Updated all dependencies to latest available versions. (`[email protected]` `@typescript-eslint/[email protected]`, `[email protected]`) ([#50](https://github.com/brightlayer-ui/code-standards/issues/50)).
- Removed duplicated `no-shadow` rule and only use the `@typescript-eslint/no-shadow` rule. ([#33](https://github.com/brightlayer-ui/code-standards/issues/33)).

## v2.0.5 (October 19, 2021)

### Changed
Expand Down
4 changes: 3 additions & 1 deletion eslint-config/blui-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const bluiRules = {
'@typescript-eslint/no-unnecessary-qualifier': 'error',
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
Expand Down Expand Up @@ -84,7 +85,6 @@ const bluiRules = {
'no-return-assign': 'error',
'no-self-compare': 'error',
'no-sequences': 'error',
'no-shadow': 'error',
'no-throw-literal': 'error',
'no-unused-expressions': 'error',
'no-useless-call': 'error',
Expand All @@ -105,6 +105,8 @@ const bluiRules = {
'prefer-spread': 'error',
'prefer-template': 'error',
'sort-imports': 'off',
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"]
};

module.exports = bluiRules;
22 changes: 13 additions & 9 deletions eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brightlayer-ui/eslint-config",
"version": "2.0.5",
"version": "3.0.0",
"description": "ESLint profile for Brightlayer UI",
"author": "Brightlayer UI <[email protected]>",
"main": "index.js",
Expand Down Expand Up @@ -30,16 +30,16 @@
"prettier": "prettier \"**/**.{ts,tsx,js,jsx,json,css,scss,html,md}\" --write"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^4.8.0",
"eslint": ">= 5.0.0",
"typescript": ">= 3.4.0"
"@typescript-eslint/eslint-plugin": "^5.9.0",
"eslint": ">= 8.6.0",
"typescript": ">= 4.0.0"
},
"dependencies": {
"@typescript-eslint/parser": "^4.8.0",
"eslint-config-prettier": ">= 6.3.0"
"@typescript-eslint/parser": "^5.9.0",
"eslint-config-prettier": ">= 8.0.0"
},
"optionalDependencies": {
"eslint-plugin-react": "^7.16.0"
"eslint-plugin-react": "^7.28.0"
},
"keywords": [
"eslint",
Expand All @@ -50,7 +50,11 @@
],
"prettier": "@brightlayer-ui/prettier-config",
"devDependencies": {
"@brightlayer-ui/prettier-config": "latest",
"prettier": "^2.2.1"
"@brightlayer-ui/prettier-config": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"eslint": ">= 8.6.0",
"eslint-plugin-react": "^7.28.0",
"prettier": "2.5.1",
"typescript": ">= 4.0.0"
}
}
Loading

0 comments on commit 87fb1f7

Please sign in to comment.