Skip to content

Commit

Permalink
Merge pull request #16 from FuelRats/v2.3
Browse files Browse the repository at this point in the history
V2.3 changes
  • Loading branch information
UncleClapton authored Nov 27, 2020
2 parents ea82e83 + 4c0dada commit c00a5f7
Show file tree
Hide file tree
Showing 11 changed files with 469 additions and 390 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ This project has spearate changelogs for each of it's packages. Below is a list
### [@fuelrats/eslint-config](packages/eslint-config/CHANGELOG.md)

### [@fuelrats/eslint-config-react](packages/eslint-config-react/CHANGELOG.md)

### [@fuelrats/eslint-plugin](packages/eslint-plugin/CHANGELOG.md)
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-fuelrats",
"version": "2.2.0",
"version": "2.3.0",
"description": "Monorepo for @fuelrats/eslint-config[-react]!",
"private": true,
"license": "MIT",
Expand Down Expand Up @@ -52,15 +52,15 @@
"eslint-restricted-globals": "^0.2.0"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/eslint-parser": "^7.11.5",
"@babel/eslint-plugin": "^7.11.5",
"eslint": "^7.10.0",
"@babel/core": "^7.12.9",
"@babel/eslint-parser": "^7.12.1",
"@babel/eslint-plugin": "^7.12.1",
"eslint": "^7.14.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^30.6.3",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.21.3",
"eslint-plugin-react-hooks": "^4.1.2",
"react": "^16.13.1"
"eslint-plugin-jsdoc": "30.5.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"react": "^17.0.1"
}
}
11 changes: 11 additions & 0 deletions packages/eslint-config-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@



### 2.3.0

#### Changes
* Remove deprecated rule `jsx-a11y/accessible-emoji`. ([See discussion](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/627))
* Add React 17 as compatible version.
* Update minimum ESLint version to `v7.14`.





### 2.2.0

#### Additions
Expand Down
6 changes: 0 additions & 6 deletions packages/eslint-config-react/core/plugin-jsx-a11y.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ module.exports = {
'jsx-a11y',
],
rules: {
/**
* Enforce emojis are wrapped in and provide screenreader access.
*/
'jsx-a11y/accessible-emoji': ['error'],


/**
* Enforce all elements that require alternative text have meaningful information to relay back to end user.
*/
Expand Down
22 changes: 11 additions & 11 deletions packages/eslint-config-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fuelrats/eslint-config-react",
"version": "2.2.0",
"version": "2.3.0",
"description": "ESLint config for fuelrats react projects",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -52,23 +52,23 @@
"release:canary": "yarn publish --tag canary --non-interactive"
},
"devDependencies": {
"@babel/eslint-parser": "^7.11.5",
"@babel/eslint-plugin": "^7.11.5",
"eslint": "^7.10.0",
"@babel/eslint-parser": "^7.12.1",
"@babel/eslint-plugin": "^7.12.1",
"eslint": "^7.14.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^30.6.3",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.2",
"react": "^16.13.1"
"eslint-plugin-jsdoc": "30.5.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"react": "^17.0.1"
},
"peerDependencies": {
"@babel/core": "^7.11",
"@babel/eslint-parser": "^7.11",
"eslint": "^7.8",
"eslint": "^7.14",
"eslint-plugin-jsx-a11y": "^6.3",
"eslint-plugin-react": "^7.20",
"eslint-plugin-react-hooks": "^4.0.1",
"react": "^16.8"
"react": "^16.8 || ^17"
}
}
12 changes: 12 additions & 0 deletions packages/eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@



### 2.3.0

#### Additions
* Enable new `no-nonoctal-decimal-escape` rule

#### Changes
* Update minimum ESLint version to `v7.14`





### 2.2.0

#### Additions
Expand Down
6 changes: 6 additions & 0 deletions packages/eslint-config/core/bestpractices.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,12 @@ module.exports = {
'no-new-wrappers': ['error'],


/**
* disallow `\8` and `\9` escape sequences in string literals
*/
'no-nonoctal-decimal-escape': ['error'],


/**
* disallow octal literals
*/
Expand Down
20 changes: 10 additions & 10 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fuelrats/eslint-config",
"version": "2.2.0",
"version": "2.3.0",
"description": "ESLint config for fuelrats projects",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -54,21 +54,21 @@
"eslint-restricted-globals": "^0.2.0"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/eslint-parser": "^7.11.5",
"@babel/eslint-plugin": "^7.11.5",
"eslint": "^7.10.0",
"@babel/core": "^7.12.9",
"@babel/eslint-parser": "^7.12.1",
"@babel/eslint-plugin": "^7.12.1",
"eslint": "^7.14.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^30.6.3",
"eslint-plugin-react": "^7.21.3",
"eslint-plugin-react-hooks": "^4.1.2",
"react": "^16.13.1"
"eslint-plugin-jsdoc": "30.5.2",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"react": "^17.0.1"
},
"peerDependencies": {
"@babel/core": "^7.11",
"@babel/eslint-parser": "^7.11",
"@babel/eslint-plugin": "^7.11",
"eslint": "^7.8",
"eslint": "^7.14",
"eslint-plugin-import": "^2.21",
"eslint-plugin-jsdoc": "^28 || ^29 || ^30"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### 2.2.0

* Initial release. Version is synced with monorepo version
20 changes: 10 additions & 10 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fuelrats/eslint-plugin",
"version": "2.2.0",
"version": "2.3.0",
"description": "Companion rules to @fuelrats/eslint-config",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -50,19 +50,19 @@
"test": "mocha tests --recursive"
},
"dependencies": {
"requireindex": "~1.1.0"
"requireindex": "~1.2.0"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/eslint-parser": "^7.11.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-private-methods": "^7.10.4",
"@babel/plugin-proposal-private-property-in-object": "^7.10.4",
"eslint": "^7.10.0",
"mocha": "^7.2.0"
"@babel/core": "^7.12.9",
"@babel/eslint-parser": "^7.12.1",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-private-methods": "^7.12.1",
"@babel/plugin-proposal-private-property-in-object": "^7.12.1",
"eslint": "^7.14.0",
"mocha": "^8.2.1"
},
"peerDependencies": {
"@babel/eslint-parser": ">=7.11",
"@babel/eslint-parser": "^7.11",
"eslint": "^7.5"
}
}
Loading

0 comments on commit c00a5f7

Please sign in to comment.