@juuso.piikkila/eslint-config-typescript 3.0.14 → 3.0.16

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
@@ -1,3 +1,17 @@
1
+ ## [3.0.16](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.15...3.0.16) (2025-03-13)
2
+
3
+ ### Bug Fixes
4
+
5
+ * fix import ([0914b8f](https://github.com/juusopiikkila/eslint-config-typescript/commit/0914b8fbe759ebf532281d490f4a9d39fbe78293))
6
+
7
+ ## [3.0.15](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.14...3.0.15) (2025-03-13)
8
+
9
+ ### Bug Fixes
10
+
11
+ * pin eslint-config-canonical ([3b649af](https://github.com/juusopiikkila/eslint-config-typescript/commit/3b649af7840120ef09cf6fefd8d67853987f4b82))
12
+ * update .npmignore ([fbf699a](https://github.com/juusopiikkila/eslint-config-typescript/commit/fbf699ad21e2c88e983f407088acf5e32e05dd2b))
13
+ * update configs ([297c0cb](https://github.com/juusopiikkila/eslint-config-typescript/commit/297c0cb571e14d91ed2e8a554f199a55c19018ec))
14
+
1
15
  ## [3.0.14](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.13...3.0.14) (2025-03-10)
2
16
 
3
17
  ### Bug Fixes
@@ -6,7 +6,6 @@ import typescript from 'eslint-config-canonical/configurations/typescript.js';
6
6
 
7
7
  export default [
8
8
  typescript.recommended,
9
- typescriptTypeChecking.recommended,
10
9
  {
11
10
  files: [
12
11
  '**/*.{ts,tsx,vue}',
@@ -24,6 +23,7 @@ export default [
24
23
  },
25
24
  },
26
25
  rules: {
26
+ ...typescriptTypeChecking.recommended,
27
27
  '@stylistic/member-delimiter-style': [
28
28
  2,
29
29
  {
@@ -1,3 +1,4 @@
1
+ import typescriptEslintPlugin from '@typescript-eslint/eslint-plugin';
1
2
  import typescriptEslintParser from '@typescript-eslint/parser';
2
3
  import pluginVue from 'eslint-plugin-vue';
3
4
  import pluginVueA11y from 'eslint-plugin-vuejs-accessibility';
@@ -12,22 +13,21 @@ export default [
12
13
  '**/*.vue',
13
14
  ],
14
15
  languageOptions: {
15
- ecmaVersion: 'latest',
16
- sourceType: 'module',
16
+ parser: vueParser,
17
17
  globals: {
18
18
  ...globals['shared-node-browser'],
19
19
  },
20
- parser: vueParser,
21
20
  parserOptions: {
22
- project: true,
23
- parser: {
24
- ts: typescriptEslintParser,
25
- '<template>': 'espree',
26
- },
21
+ ecmaVersion: 'latest',
27
22
  extraFileExtensions: ['.vue'],
23
+ parser: typescriptEslintParser,
24
+ projectService: true,
28
25
  sourceType: 'module',
29
26
  },
30
27
  },
28
+ plugins: {
29
+ '@typescript-eslint': typescriptEslintPlugin,
30
+ },
31
31
  rules: {
32
32
  'vue/custom-event-name-casing': [
33
33
  'error',
package/eslint.config.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line import/no-useless-path-segments
1
2
  import rules from './configurations/base/index.js';
2
3
 
3
4
  export default [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@juuso.piikkila/eslint-config-typescript",
3
3
  "description": "ESLint config for typescript projects",
4
- "version": "3.0.14",
4
+ "version": "3.0.16",
5
5
  "main": "index.js",
6
6
  "author": "Juuso Piikkilä",
7
7
  "license": "MIT",
@@ -13,6 +13,9 @@
13
13
  "scripts": {
14
14
  "lint": "eslint \"configurations/**/*.js\" \"eslint.config.mjs\" \"index.js\""
15
15
  },
16
+ "resolutions": {
17
+ "eslint-config-canonical": "44.3.37"
18
+ },
16
19
  "dependencies": {
17
20
  "eslint": "^9.0.0",
18
21
  "eslint-config-canonical": "^44.3.43",
@@ -1,34 +0,0 @@
1
- name: NPM Release
2
-
3
- on:
4
- workflow_dispatch:
5
- schedule:
6
- - cron: '0 0 * * 5'
7
-
8
- jobs:
9
- build:
10
- runs-on: ubuntu-latest
11
- steps:
12
- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
13
-
14
- - name: Semantic Release
15
- uses: cycjimmy/semantic-release-action@v4
16
- id: semantic
17
- with:
18
- branch: main
19
- extra_plugins: |
20
- @semantic-release/changelog
21
- @semantic-release/git
22
- conventional-changelog-conventionalcommits
23
- env:
24
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
26
-
27
- - name: Create release
28
- if: steps.semantic.outputs.new_release_published == 'true'
29
- uses: ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # v1
30
- with:
31
- tag: ${{ steps.semantic.outputs.new_release_version }}
32
- name: ${{ steps.semantic.outputs.new_release_version }}
33
- body: ${{ steps.semantic.outputs.new_release_notes }}
34
- token: ${{ secrets.GITHUB_TOKEN }}