eslint-config-azuriru 3.3.6 → 3.3.8

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/index.js +9 -3
  2. package/package.json +1 -1
  3. package/svelte.js +1 -1
package/index.js CHANGED
@@ -2,7 +2,7 @@ import globals from 'globals';
2
2
  import antfu from 'eslint-plugin-antfu';
3
3
  import imports from 'eslint-plugin-import';
4
4
  import stylistic from '@stylistic/eslint-plugin';
5
- import ts, { plugin as tslint, parser } from 'typescript-eslint';
5
+ import { plugin as tslint, parser } from 'typescript-eslint';
6
6
  import { defineConfig } from 'eslint/config';
7
7
 
8
8
  export { default as svelte } from './svelte.js';
@@ -11,9 +11,15 @@ export default defineConfig(
11
11
  // Shared JS/TS config
12
12
  {
13
13
  'extends': [
14
- ts.configs.base,
15
14
  {
16
- files: ['**/*.ts', '**/*.js']
15
+ files: ['**/*.ts', '**/*.js'],
16
+ languageOptions: {
17
+ parser,
18
+ sourceType: 'module'
19
+ },
20
+ plugins: {
21
+ '@typescript-eslint': tslint
22
+ }
17
23
  }
18
24
  ],
19
25
  languageOptions: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-config-azuriru",
3
3
  "description": "My personal INCREDIBLY OPINIONATED configs for anything ESlint.",
4
- "version": "3.3.6",
4
+ "version": "3.3.8",
5
5
  "main": "index.js",
6
6
  "eslintConfig": {
7
7
  "env": {
package/svelte.js CHANGED
@@ -85,7 +85,7 @@ export default (svelteConfig) => {
85
85
  allowReassign: true
86
86
  }],
87
87
  'svelte/no-unused-class-name': 'off',
88
- 'svelte/no-unused-props': ['error', {
88
+ 'svelte/no-unused-props': ['warn', {
89
89
  checkImportedTypes: true,
90
90
  ignoreTypePatterns: [],
91
91
  ignorePropertyPatterns: [],