@r2d2bzh/eslint-config 0.4.1 → 0.6.0-alpha.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.
Files changed (3) hide show
  1. package/.travis.yml +5 -1
  2. package/index.js +2 -3
  3. package/package.json +11 -10
package/.travis.yml CHANGED
@@ -1,16 +1,20 @@
1
1
  language: node_js
2
2
  sudo: false
3
3
  node_js:
4
- - 10
4
+ - 16
5
5
  install:
6
6
  - npm i
7
7
  script: true
8
+ before_deploy:
9
+ - npm install -g auto-dist-tag@1
10
+ - auto-dist-tag --write
8
11
  deploy:
9
12
  provider: npm
10
13
  email: gautaz@users.noreply.github.com
11
14
  api_key:
12
15
  secure: F3ypUC6uDS4Ck/HVIxVf/OJZBhN7uN1Iuqw9ymr6uhHZm3rFTr1i2uEQl/7coQPQEbHAvdlJKcmGmorZXyj2Y4ynW22yVOZx6FzF5hNDV+xJACi5kRDqGH1YyhcfbZilbgqUAyDsjVOVIfeftc+u6MvxHH1/S+mok7jLabaeG7uTwbmIEiePOqxMWXNkd9r9h3L4TMp7D7enC5UWfNgNMCnleHxewoLbDrHsxRmQwxT3Oxru6/HEhPKx4LVlGb6QcvAplA9Gr26ZdorMzVP0m92gMEdEthyW5RWEHrqJs/B5eU2B0Z9gDCRxc7oDqB8qo2qa5yfbZAG29+n4+T9ErVeLXPXxx0gL7vQQbhl2wXGObqzrMrW5ZISZjYn34d+jWx0VJpL8prjPcEBiEsy6e7g3/qzckuIL7TO2D1S07pctbCXsId+PYcmGT4FLLQj1yzSBtCWf4D3qYuOLqpou43vwArlpVTTBwcQqUOQB1pV134f9SHNJmQ498WvH5jsoI7Dh2LU7JcasQsyvSIQ0l9gEb0ScpWutg1vKIQ41M1UyY8Bi1DxnI3WhhJvE0iXEZODLuhjr6nWQwbJI6OV9EaZipupM02MFqQYzB4BU9UmgJAb3gGmv5ENB465vpV13/SBDlOb+/32fu43+xQgf6qyq95k7oeUWSei3bktp0iE=
13
16
  on:
17
+ all_branches: true
14
18
  tags: true
15
19
  repo: r2d2bzh/eslint-config
16
20
  skip_cleanup: 'true'
package/index.js CHANGED
@@ -7,9 +7,10 @@ module.exports = {
7
7
  'eslint:recommended',
8
8
  'plugin:ava/recommended',
9
9
  'plugin:import/recommended',
10
- 'plugin:node/recommended',
11
10
  'plugin:prettier/recommended',
12
11
  'plugin:promise/recommended',
12
+ 'plugin:security/recommended',
13
+ 'plugin:unicorn/recommended',
13
14
  ],
14
15
  parserOptions: {
15
16
  ecmaVersion: 12,
@@ -34,8 +35,6 @@ module.exports = {
34
35
  printWidth: 120,
35
36
  },
36
37
  ],
37
- // https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-unpublished-import.md
38
- 'node/no-unpublished-import': 'off',
39
38
  // https://eslint.org/docs/rules/no-unused-vars#ignorerestsiblings
40
39
  'no-unused-vars': ['error', { ignoreRestSiblings: true }],
41
40
  // https://eslint.org/docs/rules/prefer-const
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2d2bzh/eslint-config",
3
- "version": "0.4.1",
3
+ "version": "0.6.0-alpha.0",
4
4
  "description": "r2d2bzh eslint configuration",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,17 +22,18 @@
22
22
  },
23
23
  "homepage": "https://github.com/r2d2bzh/eslint-config#readme",
24
24
  "publishConfig": {
25
- "access": "public"
25
+ "access": "public",
26
+ "tag": "alpha"
26
27
  },
27
28
  "peerDependencies": {
28
- "eslint": ">=7.27.0",
29
+ "eslint": ">=8.6.0",
29
30
  "eslint-config-prettier": ">=8.3.0",
30
- "eslint-loader": ">=4.0.0",
31
- "eslint-plugin-ava": "^12.0.0",
32
- "eslint-plugin-import": ">=2.23.0",
33
- "eslint-plugin-node": ">=11.1.0",
34
- "eslint-plugin-prettier": ">=3.4.0",
35
- "eslint-plugin-promise": ">=5.1.0",
36
- "prettier": ">=2.3.0"
31
+ "eslint-plugin-ava": ">=13.2.0",
32
+ "eslint-plugin-import": ">=2.25.4",
33
+ "eslint-plugin-prettier": ">=4.0.0",
34
+ "eslint-plugin-promise": ">=6.0.0",
35
+ "eslint-plugin-security": ">=1.4.0",
36
+ "eslint-plugin-unicorn": ">=40.0.0",
37
+ "prettier": ">=2.5.1"
37
38
  }
38
39
  }