eslint-config-azuriru 3.1.6 → 3.2.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/index.js +5 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5,6 +5,8 @@ import stylistic from '@stylistic/eslint-plugin';
|
|
|
5
5
|
import { plugin as tslint, parser } from 'typescript-eslint';
|
|
6
6
|
import { defineConfig } from 'eslint/config';
|
|
7
7
|
|
|
8
|
+
export { default as svelte } from './svelte';
|
|
9
|
+
|
|
8
10
|
export default defineConfig(
|
|
9
11
|
{
|
|
10
12
|
languageOptions: {
|
|
@@ -77,7 +79,7 @@ export default defineConfig(
|
|
|
77
79
|
'import/no-relative-parent-imports': 'off',
|
|
78
80
|
'import/no-restricted-paths': 'off',
|
|
79
81
|
'import/no-self-import': 'warn',
|
|
80
|
-
'import/no-unresolved': '
|
|
82
|
+
'import/no-unresolved': 'off', // I think ts already does this but sure // stupid shit doesn't even work with eslint/config
|
|
81
83
|
'import/no-useless-path-segments': 'warn',
|
|
82
84
|
'import/no-webpack-loader-syntax': 'warn',
|
|
83
85
|
|
|
@@ -85,7 +87,7 @@ export default defineConfig(
|
|
|
85
87
|
'import/consistent-type-specifier-style': 'off', // I should configure this later
|
|
86
88
|
'import/dynamic-import-chunkname': 'warn',
|
|
87
89
|
'import/exports-last': 'off',
|
|
88
|
-
'import/extensions': '
|
|
90
|
+
'import/extensions': 'off', // Generally, you don't need to // .config.js exception but meh
|
|
89
91
|
'import/first': 'warn',
|
|
90
92
|
'import/group-exports': 'off', // No way
|
|
91
93
|
|
|
@@ -326,7 +328,7 @@ export default defineConfig(
|
|
|
326
328
|
'@stylistic/line-comment-position': 'off', // Subjective.
|
|
327
329
|
'@stylistic/linebreak-style': [
|
|
328
330
|
'warn',
|
|
329
|
-
'
|
|
331
|
+
'unix'
|
|
330
332
|
],
|
|
331
333
|
'@stylistic/lines-around-comment': 'off',
|
|
332
334
|
'@stylistic/lines-between-class-members': [
|