@juuso.piikkila/eslint-config-typescript 3.0.13 → 3.0.15

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.15](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.14...3.0.15) (2025-03-13)
2
+
3
+ ### Bug Fixes
4
+
5
+ * pin eslint-config-canonical ([3b649af](https://github.com/juusopiikkila/eslint-config-typescript/commit/3b649af7840120ef09cf6fefd8d67853987f4b82))
6
+ * update .npmignore ([fbf699a](https://github.com/juusopiikkila/eslint-config-typescript/commit/fbf699ad21e2c88e983f407088acf5e32e05dd2b))
7
+ * update configs ([297c0cb](https://github.com/juusopiikkila/eslint-config-typescript/commit/297c0cb571e14d91ed2e8a554f199a55c19018ec))
8
+
9
+ ## [3.0.14](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.13...3.0.14) (2025-03-10)
10
+
11
+ ### Bug Fixes
12
+
13
+ * update vue config ([f06f8d0](https://github.com/juusopiikkila/eslint-config-typescript/commit/f06f8d0fa1e65e014fa6c530de2af6018578ec09))
14
+
1
15
  ## [3.0.13](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.12...3.0.13) (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,11 +1,11 @@
1
1
  import typescriptEslintParser from '@typescript-eslint/parser';
2
+ import typescriptEslintPlugin from '@typescript-eslint/plugin';
2
3
  import pluginVue from 'eslint-plugin-vue';
3
4
  import pluginVueA11y from 'eslint-plugin-vuejs-accessibility';
4
- import { defineConfig } from 'eslint/config';
5
5
  import globals from 'globals';
6
6
  import vueParser from 'vue-eslint-parser';
7
7
 
8
- export default defineConfig([
8
+ export default [
9
9
  ...pluginVue.configs['flat/recommended'],
10
10
  ...pluginVueA11y.configs['flat/recommended'],
11
11
  {
@@ -13,22 +13,21 @@ export default defineConfig([
13
13
  '**/*.vue',
14
14
  ],
15
15
  languageOptions: {
16
- ecmaVersion: 'latest',
17
- sourceType: 'module',
16
+ parser: vueParser,
18
17
  globals: {
19
18
  ...globals['shared-node-browser'],
20
19
  },
21
- parser: vueParser,
22
20
  parserOptions: {
23
- project: true,
24
- parser: {
25
- ts: typescriptEslintParser,
26
- '<template>': 'espree',
27
- },
21
+ ecmaVersion: 'latest',
28
22
  extraFileExtensions: ['.vue'],
23
+ parser: typescriptEslintParser,
24
+ projectService: true,
29
25
  sourceType: 'module',
30
26
  },
31
27
  },
28
+ plugins: {
29
+ '@typescript-eslint': typescriptEslintPlugin,
30
+ },
32
31
  rules: {
33
32
  'vue/custom-event-name-casing': [
34
33
  'error',
@@ -207,4 +206,4 @@ export default defineConfig([
207
206
  'vuejs-accessibility/label-has-for': 'off',
208
207
  },
209
208
  },
210
- ]);
209
+ ];
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.13",
4
+ "version": "3.0.15",
5
5
  "main": "index.js",
6
6
  "author": "Juuso Piikkilä",
7
7
  "license": "MIT",
@@ -11,7 +11,10 @@
11
11
  "access": "public"
12
12
  },
13
13
  "scripts": {
14
- "lint": "eslint \"configurations/**/*.js\" \"index.js\""
14
+ "lint": "eslint \"configurations/**/*.js\" \"eslint.config.mjs\" \"index.js\""
15
+ },
16
+ "resolutions": {
17
+ "eslint-config-canonical": "44.3.37"
15
18
  },
16
19
  "dependencies": {
17
20
  "eslint": "^9.0.0",
@@ -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 }}