@cabify/eslint-config 3.0.1-beta → 3.0.1-beta-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
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.1.4] - 2024-09-12
11
+
12
+ - Fixing dependencies not published properly in `v2.1.3`.
13
+ - Revert eslint-plugin-lodash version bump because it requires ESLint v9.
14
+
15
+ ## [2.1.3] - 2024-09-12
16
+
17
+ - Updating eslint-plugin dependencies.
18
+
19
+ ## [2.1.2] - 2024-09-12
20
+
21
+ - Updating typescript-eslint dependencies.
22
+
10
23
  ## [2.1.1] - 2024-07-10
11
24
 
12
25
  - Updating naming convention for imports. Added `camelCase`, `PascalCase` and `UPPER_CASE`.
package/configs/base.js CHANGED
@@ -60,6 +60,7 @@ const overrides = [
60
60
  module.exports = [
61
61
  ...configs,
62
62
  {
63
+ name: 'base-cabify-eslint-config',
63
64
  languageOptions: {
64
65
  ecmaVersion: 2022,
65
66
  sourceType: 'module',
@@ -1,4 +1,5 @@
1
1
  module.exports = {
2
+ name: 'best-practices-cabify-eslint-config',
2
3
  rules: {
3
4
  // enforces getter/setter pairs in objects
4
5
  'accessor-pairs': 'off',
package/configs/errors.js CHANGED
@@ -1,4 +1,5 @@
1
1
  module.exports = {
2
+ name: 'errors-cabify-eslint-config',
2
3
  rules: {
3
4
  // Enforce “for” loop update clause moving the counter in the right direction
4
5
  // https://eslint.org/docs/rules/for-direction
package/configs/es6.js CHANGED
@@ -1,4 +1,5 @@
1
1
  module.exports = {
2
+ name: 'ES6-cabify-eslint-config',
2
3
  // languageOptions: {
3
4
  // globals: {
4
5
  // es6: true,
@@ -1,5 +1,6 @@
1
1
  const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
2
2
 
3
3
  module.exports = {
4
+ name: 'formats-cabify-eslint-config',
4
5
  ...eslintPluginPrettierRecommended,
5
6
  };
@@ -2,6 +2,7 @@ const importPlugin = require('eslint-plugin-import');
2
2
  const simpleImportSort = require('eslint-plugin-simple-import-sort');
3
3
 
4
4
  module.exports = {
5
+ name: 'imports-cabify-eslint-config',
5
6
  // languageOptions: {
6
7
  // globals: {
7
8
  // es6: true,
package/configs/jest.js CHANGED
@@ -1,6 +1,7 @@
1
1
  const jest = require('eslint-plugin-jest');
2
2
 
3
3
  module.exports = {
4
+ name: 'jest-cabify-eslint-config',
4
5
  // languageOptions: {
5
6
  // globals: {
6
7
  // 'jest/globals': true,
package/configs/lodash.js CHANGED
@@ -1,8 +1,8 @@
1
1
  const lodashPlugin = require('eslint-plugin-lodash');
2
2
 
3
3
  module.exports = {
4
+ name: 'lodash-cabify-eslint-config',
4
5
  plugins: { lodash: lodashPlugin },
5
-
6
6
  rules: {
7
7
  'lodash/import-scope': ['error', 'method'],
8
8
  },
package/configs/node.js CHANGED
@@ -1,4 +1,5 @@
1
1
  module.exports = {
2
+ name: 'node-cabify-eslint-config',
2
3
  rules: {
3
4
  // enforce return after a callback
4
5
  'callback-return': 'off',
@@ -1,4 +1,5 @@
1
1
  module.exports = {
2
+ name: 'post-css-cabify-eslint-config',
2
3
  rules: {
3
4
  'global-require': 'off',
4
5
  },
@@ -1,4 +1,5 @@
1
1
  module.exports = {
2
+ name: 'promises-cabify-eslint-config',
2
3
  rules: {
3
4
  'no-floating-promises': 'off',
4
5
 
@@ -1,6 +1,7 @@
1
1
  const jsxAllyPlugin = require('eslint-plugin-jsx-a11y');
2
2
 
3
3
  module.exports = {
4
+ name: 'react-a11y-cabify-eslint-config',
4
5
  plugins: { 'jsx-a11y': jsxAllyPlugin },
5
6
 
6
7
  // languageOptions: {
package/configs/react.js CHANGED
@@ -2,6 +2,7 @@ const react = require('eslint-plugin-react');
2
2
  const reactHooks = require('eslint-plugin-react-hooks');
3
3
 
4
4
  module.exports = {
5
+ name: 'react-cabify-eslint-config',
5
6
  plugins: {
6
7
  react,
7
8
  'react-hooks': reactHooks,
@@ -1,4 +1,5 @@
1
1
  module.exports = {
2
+ name: 'storybook-cabify-eslint-config',
2
3
  rules: {
3
4
  'import/no-default-export': 'off',
4
5
  },
package/configs/strict.js CHANGED
@@ -1,4 +1,5 @@
1
1
  module.exports = {
2
+ name: 'strict-cabify-eslint-config',
2
3
  rules: {
3
4
  // babel inserts `'use strict';` for us
4
5
  strict: ['error', 'never'],
package/configs/style.js CHANGED
@@ -1,4 +1,5 @@
1
1
  module.exports = {
2
+ name: 'style-cabify-eslint-config',
2
3
  rules: {
3
4
  // require camel case names
4
5
  // TODO: semver-major (eslint 5): add ignoreDestructuring: false option
package/configs/ts.js CHANGED
@@ -1,4 +1,5 @@
1
1
  module.exports = {
2
+ name: 'ts-cabify-eslint-config',
2
3
  plugins: ['@typescript-eslint'],
3
4
  extends: [
4
5
  'plugin:@typescript-eslint/recommended',
@@ -1,6 +1,7 @@
1
1
  const confusingBrowserGlobals = require('confusing-browser-globals');
2
2
 
3
3
  module.exports = {
4
+ name: 'variables-cabify-eslint-config',
4
5
  rules: {
5
6
  // enforce or disallow variable initializations at definition
6
7
  'init-declarations': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabify/eslint-config",
3
- "version": "3.0.1-beta",
3
+ "version": "3.0.1-beta-2",
4
4
  "description": "ESLint config for Cabify Javascript projects",
5
5
  "scripts": {
6
6
  "build": "echo 'No build to perform'",
@@ -43,17 +43,17 @@
43
43
  "confusing-browser-globals": "^1.0.10",
44
44
  "eslint-config-prettier": "^9.1.0",
45
45
  "eslint-plugin-import": "^2.30.0",
46
- "eslint-plugin-jest": "^28.2.0",
47
- "eslint-plugin-jsx-a11y": "^6.8.0",
48
- "eslint-plugin-lodash": "^7.3.0",
46
+ "eslint-plugin-jest": "^28.8.3",
47
+ "eslint-plugin-jsx-a11y": "^6.10.0",
48
+ "eslint-plugin-lodash": "^7.4.0",
49
49
  "eslint-plugin-prettier": "^5.2.1",
50
- "eslint-plugin-react": "^7.35.2",
51
- "eslint-plugin-react-hooks": "^4.3.0",
52
- "eslint-plugin-simple-import-sort": "^12.1.0",
53
- "globals": "^13.6.0"
50
+ "eslint-plugin-react": "^7.36.0",
51
+ "eslint-plugin-react-hooks": "^4.6.2",
52
+ "eslint-plugin-simple-import-sort": "^12.1.1",
53
+ "globals": "^15.9.0"
54
54
  },
55
55
  "peerDependencies": {
56
- "eslint": ">= 8.0.1",
56
+ "eslint": "9.1.0",
57
57
  "prettier": ">= 2.2.1"
58
58
  },
59
59
  "devDependencies": {