@ringieraxelspringer/eslint-config 21.0.0 → 22.0.1

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.1] - 2023-05-30
6
+ ### Fixed
7
+ - [@mdulawa]: Fixed ECMA version after removal of default parser `@babel/eslint-parser`.
8
+
9
+ ## [22.0.0] - 2023-05-26
10
+ ### Removed
11
+ - [@kpiatek2]: Removed default parser `@babel/eslint-parser`.
12
+
5
13
  ## [21.0.0] - 2023-04-25
6
14
  ### Added
7
15
  - [@mkuranda]: Added [jsx-tag-spacing](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-tag-spacing.md) rule.
@@ -198,6 +206,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
198
206
  ### Added
199
207
  - [@mdulawa]: Initial version.
200
208
 
209
+ [22.0.1]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=22.0.1&targetBranch=22.0.0
210
+ [22.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=22.0.0&targetBranch=21.0.0
201
211
  [21.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=21.0.0&targetBranch=20.0.1
202
212
  [20.0.1]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=20.0.1&targetBranch=20.0.0
203
213
  [20.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=20.0.0&targetBranch=19.0.0
package/README.md CHANGED
@@ -32,3 +32,18 @@ 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
+ "devDependencies": {
41
+ "@babel/core": "^7.0.0",
42
+ "@babel/eslint-parser": "^7.0.0"
43
+ },
44
+ "eslintConfig": {
45
+ "extends": "@ringieraxelspringer/eslint-config",
46
+ "parser": "@babel/eslint-parser"
47
+ }
48
+ }
49
+ ```
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',
@@ -13,14 +12,14 @@ module.exports = {
13
12
  sourceType: 'module',
14
13
  allowImportExportEverywhere: true,
15
14
  codeFrame: false,
16
- ecmaVersion: 2019,
15
+ ecmaVersion: 2022,
17
16
  ecmaFeatures: {
18
17
  jsx: true
19
18
  }
20
19
  },
21
20
  env: {
22
21
  browser: true,
23
- es6: true,
22
+ es2022: true,
24
23
  node: true
25
24
  },
26
25
  plugins: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ringieraxelspringer/eslint-config",
3
- "version": "21.0.0",
3
+ "version": "22.0.1",
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",