@w0s/eslint-config 1.2.0 → 3.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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # eslint-config
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/%40w0s%2Feslint-config.svg)](https://www.npmjs.com/package/@w0s/eslint-config)
4
- [![test status](https://github.com/SaekiTominaga/eslint-config/actions/workflows/test.yml/badge.svg)](https://github.com/SaekiTominaga/eslint-config/actions/workflows/test.yml)
4
+ [![test status](https://github.com/SaekiTominaga/w0s/actions/workflows/eslint-test.yml/badge.svg)](https://github.com/SaekiTominaga/w0s/actions/workflows/eslint-test.yml)
5
5
 
6
6
  ESLint configuration file used on [w0s.jp](https://w0s.jp/)
7
7
 
package/index.js CHANGED
@@ -6,13 +6,14 @@ module.exports = {
6
6
  './rules/eslint/suggestions.js',
7
7
  './rules/eslint/layout&formatting.js',
8
8
  './rules/import.js',
9
+ 'plugin:jsdoc/recommended',
9
10
  './rules/jsdoc.js',
10
11
  ],
11
12
  plugins: ['jsdoc'],
12
13
  overrides: [
13
14
  {
14
15
  files: ['*.ts'],
15
- extends: ['plugin:@typescript-eslint/recommended'],
16
+ extends: ['plugin:@typescript-eslint/recommended', 'plugin:jsdoc/recommended-typescript'],
16
17
  rules: {
17
18
  'dot-notation': 'off',
18
19
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w0s/eslint-config",
3
- "version": "1.2.0",
3
+ "version": "3.0.0",
4
4
  "description": "ESLint configuration file used on w0s.jp",
5
5
  "keywords": [
6
6
  "eslint",
@@ -8,10 +8,6 @@
8
8
  "eslint-config",
9
9
  "styleguide"
10
10
  ],
11
- "homepage": "https://github.com/SaekiTominaga/eslint-config#readme",
12
- "bugs": {
13
- "url": "https://github.com/SaekiTominaga/eslint-config/issues"
14
- },
15
11
  "license": "MIT",
16
12
  "author": "Saeki Tominaga",
17
13
  "files": [
@@ -20,21 +16,21 @@
20
16
  "main": "index.js",
21
17
  "repository": {
22
18
  "type": "git",
23
- "url": "git+https://github.com/SaekiTominaga/eslint-config.git"
19
+ "url": "git+https://github.com/SaekiTominaga/w0s.git"
24
20
  },
25
21
  "scripts": {
26
22
  "test": "eslint __tests__/*"
27
23
  },
28
24
  "dependencies": {
29
- "@typescript-eslint/eslint-plugin": "^5.59.0",
25
+ "@typescript-eslint/eslint-plugin": "^5.61.0",
30
26
  "eslint-config-airbnb-base": "^15.0.0",
31
- "eslint-plugin-jsdoc": "^41.1.2"
27
+ "eslint-plugin-jsdoc": "^46.4.3"
32
28
  },
33
29
  "devDependencies": {
34
- "eslint": "^8.39.0"
30
+ "eslint": "^8.44.0"
35
31
  },
36
32
  "peerDependencies": {
37
- "eslint": "^8.39.0"
33
+ "eslint": "^8.44.0"
38
34
  },
39
35
  "publishConfig": {
40
36
  "access": "public"
@@ -1,15 +1,6 @@
1
1
  module.exports = {
2
2
  rules: {
3
- 'comma-dangle': [
4
- 'error',
5
- {
6
- arrays: 'always-multiline',
7
- objects: 'always-multiline',
8
- imports: 'always-multiline',
9
- exports: 'always-multiline',
10
- functions: 'never',
11
- },
12
- ],
3
+ 'comma-dangle': ['error', 'always-multiline'],
13
4
  'function-paren-newline': 'off',
14
5
  'implicit-arrow-linebreak': 'off',
15
6
  indent: [
package/rules/jsdoc.js CHANGED
@@ -1,17 +1,5 @@
1
1
  module.exports = {
2
2
  rules: {
3
- 'jsdoc/check-param-names': 'warn', // Recommended
4
- 'jsdoc/check-tag-names': 'warn', // Recommended
5
- 'jsdoc/check-types': 'warn', // Recommended
6
- 'jsdoc/newline-after-description': 'warn', // Recommended
7
- 'jsdoc/no-undefined-types': 'warn', // Recommended
8
- 'jsdoc/require-hyphen-before-param-description': 'warn',
9
- 'jsdoc/require-param': 'warn', // Recommended
10
- 'jsdoc/require-param-description': 'warn', // Recommended
11
- 'jsdoc/require-param-name': 'warn', // Recommended
12
- 'jsdoc/require-param-type': 'warn', // Recommended
13
- 'jsdoc/require-returns-description': 'warn', // Recommended
14
- 'jsdoc/require-returns-type': 'warn', // Recommended
15
- 'jsdoc/valid-types': 'warn', // Recommended
3
+ 'jsdoc/tag-lines': ['warn', 'any', { startLines: 1 }], // Recommended
16
4
  },
17
5
  };
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 "><S>aekiTominaga
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.