@st1ggy/linter-config 1.0.79 → 1.0.80

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/bun.lockb ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@st1ggy/linter-config",
3
- "version": "1.0.79",
3
+ "version": "1.0.80",
4
4
  "description": "ESLint, Stylelint and Prettier configs for React, Vue [WIP] and Svelte [WIP]",
5
5
  "private": false,
6
6
  "repository": {
@@ -49,13 +49,8 @@
49
49
  "./eslint-react": "./src/eslint/eslint.config.react.js",
50
50
  "./eslint-typescript": "./src/eslint/eslint.config.typescript.js",
51
51
  "./eslint-common": "./src/eslint/eslint.config.common.js",
52
- "./eslint-svelte": "./src/eslint/eslint.config.svelte.js",
53
52
  "./prettier-common": "./src/prettier/prettier.config.common.js",
54
53
  "./stylelint-common": "./src/stylelint/stylelint.config.common.js",
55
54
  "./stylelint-scss": "./src/stylelint/stylelint.config.scss.js"
56
- },
57
- "dependencies": {
58
- "eslint-plugin-svelte": "^2.46.0",
59
- "svelte-eslint-parser": "^0.43.0"
60
55
  }
61
56
  }
@@ -2,7 +2,7 @@ import eslint from '@eslint/js'
2
2
  import tseslint from 'typescript-eslint'
3
3
 
4
4
  export default tseslint.config({
5
- files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx', '**/*.vue', '**/*.svelte'],
5
+ files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'],
6
6
  extends: [eslint.configs.recommended],
7
7
  rules: {
8
8
  'no-console': 'warn',
@@ -2,7 +2,7 @@ import importPlugin from 'eslint-plugin-import'
2
2
  import tseslint from 'typescript-eslint'
3
3
 
4
4
  export default tseslint.config({
5
- files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx', '**/*.vue', '**/*.svelte'],
5
+ files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'],
6
6
  plugins: { import: importPlugin },
7
7
  rules: {
8
8
  'import/newline-after-import': 'error',
@@ -2,7 +2,7 @@ import nextPlugin from '@next/eslint-plugin-next'
2
2
  import tseslint from 'typescript-eslint'
3
3
 
4
4
  export default tseslint.config({
5
- files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx', '**/*.vue', '**/*.svelte'],
5
+ files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'],
6
6
  plugins: {
7
7
  '@next/next': nextPlugin,
8
8
  },
@@ -3,7 +3,7 @@ import prettierPlugin from 'eslint-plugin-prettier'
3
3
  import tseslint from 'typescript-eslint'
4
4
 
5
5
  export default tseslint.config({
6
- files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx', '**/*.vue', '**/*.svelte'],
6
+ files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'],
7
7
  extends: [prettierConfig],
8
8
  plugins: { prettier: prettierPlugin },
9
9
  rules: { 'prettier/prettier': 'error' },
@@ -4,7 +4,7 @@ import reactHooksPlugin from 'eslint-plugin-react-hooks'
4
4
  import tseslint from 'typescript-eslint'
5
5
 
6
6
  export default tseslint.config({
7
- files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx', '**/*.vue', '**/*.svelte'],
7
+ files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'],
8
8
  plugins: { 'react-hooks': reactHooksPlugin },
9
9
  extends: [reactRecommended, reactJsxRuntime],
10
10
  rules: {
@@ -2,6 +2,6 @@ import sonarjs from 'eslint-plugin-sonarjs'
2
2
  import tseslint from 'typescript-eslint'
3
3
 
4
4
  export default tseslint.config({
5
- files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx', '**/*.vue', '**/*.svelte'],
5
+ files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'],
6
6
  extends: [sonarjs.configs.recommended],
7
7
  })
@@ -1,7 +1,7 @@
1
1
  import tseslint from 'typescript-eslint'
2
2
 
3
3
  export default tseslint.config({
4
- files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx', '**/*.vue', '**/*.svelte'],
4
+ files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'],
5
5
  extends: [...tseslint.configs.recommended, ...tseslint.configs.stylistic],
6
6
  languageOptions: {
7
7
  parserOptions: {
@@ -2,7 +2,7 @@ import unicornPlugin from 'eslint-plugin-unicorn'
2
2
  import tseslint from 'typescript-eslint'
3
3
 
4
4
  export default tseslint.config({
5
- files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx', '**/*.vue', '**/*.svelte'],
5
+ files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'],
6
6
  extends: [unicornPlugin.configs['flat/recommended']],
7
7
  rules: {
8
8
  'unicorn/consistent-destructuring': 'error',
@@ -1,17 +0,0 @@
1
- import sveltePlugin from 'eslint-plugin-svelte'
2
- import svelteParser from 'svelte-eslint-parser'
3
- import tseslint from 'typescript-eslint'
4
-
5
- export default tseslint.config({
6
- files: ['**/*.svelte', '*.svelte'],
7
- extends: [...sveltePlugin.configs['flat/recommended']],
8
- languageOptions: {
9
- parser: svelteParser,
10
- parserOptions: {
11
- parser: {
12
- ts: '@typescript-eslint/parser',
13
- },
14
- extraFileExtensions: ['.svelte'],
15
- },
16
- },
17
- })
@@ -1,4 +0,0 @@
1
- import svelteConfig from './configs/config.svelte.js'
2
- import typescriptConfig from './eslint.config.typescript.js'
3
-
4
- export default [...typescriptConfig, ...svelteConfig]