@ringieraxelspringer/eslint-config 20.0.1 → 22.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/).
4
4
 
5
+ ## [22.0.0] - 2023-05-26
6
+ ### Changed
7
+ - [@kpiatek2]: Changed Remove default parser
8
+
9
+ ## [21.0.0] - 2023-04-25
10
+ ### Added
11
+ - [@mkuranda]: Added [jsx-tag-spacing](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-tag-spacing.md) rule.
12
+
5
13
  ## [20.0.1] - 2023-03-27
6
14
  ### Fixed
7
15
  - [@mkasprzyk]: Added `PascalCase` to `naming-convention` rule values.
@@ -194,6 +202,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
194
202
  ### Added
195
203
  - [@mdulawa]: Initial version.
196
204
 
205
+ [22.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=22.0.0&targetBranch=21.0.0
206
+ [21.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=21.0.0&targetBranch=20.0.1
197
207
  [20.0.1]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=20.0.1&targetBranch=20.0.0
198
208
  [20.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=20.0.0&targetBranch=19.0.0
199
209
  [19.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=19.0.0&targetBranch=18.0.0
package/README.md CHANGED
@@ -32,3 +32,14 @@ npm install --save-dev @ringieraxelspringer/eslint-config
32
32
  }
33
33
  }
34
34
  ```
35
+
36
+ If you need, you can also set parser dedicated for your application like:
37
+
38
+ ```json
39
+ {
40
+ "eslintConfig": {
41
+ "extends": "@ringieraxelspringer/eslint-config",
42
+ "parser": "@babel/eslint-parser"
43
+ }
44
+ }
45
+ ```
package/lib/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  module.exports = {
2
2
  root: true,
3
3
  reportUnusedDisableDirectives: true,
4
- parser: '@babel/eslint-parser',
5
4
  extends: [
6
5
  'eslint:recommended',
7
6
  'plugin:node/recommended',
@@ -109,6 +108,7 @@ module.exports = {
109
108
  'react/jsx-closing-bracket-location': ['error', 'line-aligned'],
110
109
  'react/jsx-curly-spacing': ['error', 'never', { allowMultiline: false }],
111
110
  'react/jsx-max-props-per-line': ['error', { maximum: 3 }],
111
+ 'react/jsx-tag-spacing': ['error', { beforeSelfClosing: 'always' }],
112
112
  'react/self-closing-comp': 'error',
113
113
  'react/sort-comp': 'error'
114
114
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ringieraxelspringer/eslint-config",
3
- "version": "20.0.1",
3
+ "version": "22.0.0",
4
4
  "description": "Common Ringier Axel Springer ESLint configuration",
5
5
  "license": "MIT",
6
6
  "repository": {},
@@ -14,8 +14,6 @@
14
14
  "lint:js:fix": "npm run lint:js -- --fix"
15
15
  },
16
16
  "dependencies": {
17
- "@babel/core": "^7.0.0",
18
- "@babel/eslint-parser": "^7.0.0",
19
17
  "@typescript-eslint/eslint-plugin": "^5.0.0",
20
18
  "@typescript-eslint/parser": "^5.0.0",
21
19
  "eslint": "^8.0.0",