@apolitical/eslint-config 2.0.0 → 2.0.2

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
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.0.2] - 2022-06-28
9
+ ### Changed
10
+ - Pipeline refs
11
+
12
+ ## [2.0.1] - 2022-05-10
13
+ ### Fixed
14
+ - `base.config.js` to use `extends` property
15
+
8
16
  ## [2.0.0] - 2022-04-01
9
17
  ### Added
10
18
  - eslint-config-prettier
package/api.config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const { commonRules, env, rules, parserOptions } = require('./base.config');
3
+ const { extends: baseExtends, env, rules, parserOptions } = require('./base.config');
4
4
 
5
5
  module.exports = {
6
6
  parserOptions,
@@ -8,7 +8,7 @@ module.exports = {
8
8
  ...env,
9
9
  node: true,
10
10
  },
11
- extends: [...commonRules, 'plugin:jest/recommended'],
11
+ extends: [...baseExtends, 'plugin:jest/recommended'],
12
12
  plugins: ['jest'],
13
13
  rules,
14
14
  };
package/base.config.js CHANGED
@@ -8,7 +8,7 @@ module.exports = {
8
8
  parserOptions: {
9
9
  ecmaVersion: 2021,
10
10
  },
11
- commonRules: ['eslint:recommended', 'eslint-config-prettier'],
11
+ extends: ['eslint:recommended', 'eslint-config-prettier'],
12
12
  rules: {
13
13
  'no-return-await': 'error',
14
14
  'jest/expect-expect': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/eslint-config",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Apolitical ESLint and Prettier configurations",
5
5
  "author": "Apolitical Group Limited <engineering@apolitical.co>",
6
6
  "license": "MIT",
@@ -24,16 +24,16 @@
24
24
  "Node Modules"
25
25
  ],
26
26
  "dependencies": {
27
- "eslint": "8.12.0",
27
+ "eslint": "8.15.0",
28
28
  "eslint-config-prettier": "8.5.0",
29
- "eslint-plugin-jest": "26.1.3",
30
- "prettier": "2.6.1"
29
+ "eslint-plugin-jest": "26.1.5",
30
+ "prettier": "2.6.2"
31
31
  },
32
32
  "peerDependencies": {
33
- "eslint": "8.12.0",
33
+ "eslint": "8.15.0",
34
34
  "eslint-config-prettier": "8.5.0",
35
- "eslint-plugin-jest": "26.1.3",
36
- "prettier": "2.6.1"
35
+ "eslint-plugin-jest": "26.1.5",
36
+ "prettier": "2.6.2"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">=16.13.0"
package/ui.config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const { commonRules, env, parserOptions, rules } = require('./base.config');
3
+ const { extends: baseExtends, env, parserOptions, rules } = require('./base.config');
4
4
 
5
5
  module.exports = {
6
6
  parserOptions: {
@@ -14,7 +14,7 @@ module.exports = {
14
14
  ...env,
15
15
  browser: true,
16
16
  },
17
- extends: [...commonRules, 'react-app', 'react-app/jest'],
17
+ extends: [...baseExtends, 'react-app', 'react-app/jest'],
18
18
  rules: {
19
19
  ...rules,
20
20
  strict: ['error', 'never'],