Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • master
  • v0.0.1
  • v0.0.10
  • v0.0.11
  • v0.0.12
  • v0.0.13
  • v0.0.14
  • v0.0.15
  • v0.0.16
  • v0.0.17
  • v0.0.18
  • v0.0.19
  • v0.0.2
  • v0.0.20
  • v0.0.21
  • v0.0.22
  • v0.0.24
  • v0.0.25
  • v0.0.26
  • v0.0.27
  • v0.0.28
  • v0.0.29
  • v0.0.3
  • v0.0.30
  • v0.0.31
  • v0.0.32
  • v0.0.33
  • v0.0.4
  • v0.0.5
  • v0.0.6
  • v0.0.7
  • v0.0.8
  • v0.0.9
  • v0.1.0
  • v0.1.1
  • v0.2.0
  • v0.2.1
  • v0.2.10
  • v0.2.2
  • v0.2.3
  • v0.2.4
  • v0.2.5
  • v0.2.6
  • v0.2.7
  • v0.2.8
  • v0.2.9
  • v0.3.0
  • v0.3.1
  • v0.3.2
  • v0.4.0
  • v0.4.1
  • v0.4.10
  • v0.4.11
  • v0.4.12
  • v0.4.13
  • v0.4.14
  • v0.4.15
  • v0.4.16
  • v0.4.17
  • v0.4.18
  • v0.4.19
  • v0.4.2
  • v0.4.20
  • v0.4.21
  • v0.4.22
  • v0.4.23
  • v0.4.24
  • v0.4.25
  • v0.4.26
  • v0.4.27
  • v0.4.28
  • v0.4.29
  • v0.4.3
  • v0.4.30
  • v0.4.31
  • v0.4.32
  • v0.4.33
  • v0.4.34
  • v0.4.35
  • v0.4.36
  • v0.4.37
  • v0.4.38
  • v0.4.39
  • v0.4.4
  • v0.4.40
  • v0.4.41
  • v0.4.42
  • v0.4.43
  • v0.4.44
  • v0.4.45
  • v0.4.46
  • v0.4.47
  • v0.4.48
  • v0.4.49
  • v0.4.5
  • v0.4.50
  • v0.4.6
  • v0.4.7
  • v0.4.8
  • v0.4.9
  • v1.0.0
101 results

Target

Select target project
No results found
Select Git revision
  • master
  • v0.0.1
  • v0.0.10
  • v0.0.11
  • v0.0.12
  • v0.0.13
  • v0.0.14
  • v0.0.15
  • v0.0.16
  • v0.0.17
  • v0.0.18
  • v0.0.19
  • v0.0.2
  • v0.0.20
  • v0.0.21
  • v0.0.22
  • v0.0.24
  • v0.0.25
  • v0.0.26
  • v0.0.27
  • v0.0.28
  • v0.0.29
  • v0.0.3
  • v0.0.30
  • v0.0.31
  • v0.0.32
  • v0.0.33
  • v0.0.4
  • v0.0.5
  • v0.0.6
  • v0.0.7
  • v0.0.8
  • v0.0.9
  • v0.1.0
  • v0.1.1
  • v0.2.0
  • v0.2.1
  • v0.2.10
  • v0.2.2
  • v0.2.3
  • v0.2.4
  • v0.2.5
  • v0.2.6
  • v0.2.7
  • v0.2.8
  • v0.2.9
  • v0.3.0
  • v0.3.1
  • v0.3.2
  • v0.4.0
  • v0.4.1
  • v0.4.10
  • v0.4.11
  • v0.4.12
  • v0.4.13
  • v0.4.14
  • v0.4.15
  • v0.4.16
  • v0.4.17
  • v0.4.18
  • v0.4.19
  • v0.4.2
  • v0.4.20
  • v0.4.21
  • v0.4.22
  • v0.4.23
  • v0.4.24
  • v0.4.25
  • v0.4.26
  • v0.4.27
  • v0.4.28
  • v0.4.29
  • v0.4.3
  • v0.4.30
  • v0.4.31
  • v0.4.32
  • v0.4.33
  • v0.4.34
  • v0.4.35
  • v0.4.36
  • v0.4.37
  • v0.4.38
  • v0.4.39
  • v0.4.4
  • v0.4.40
  • v0.4.41
  • v0.4.42
  • v0.4.43
  • v0.4.44
  • v0.4.45
  • v0.4.46
  • v0.4.47
  • v0.4.48
  • v0.4.49
  • v0.4.5
  • v0.4.50
  • v0.4.6
  • v0.4.7
  • v0.4.8
  • v0.4.9
  • v1.0.0
101 results
Show changes

Commits on Source 2

14 files
+ 26
14
Compare changes
  • Side-by-side
  • Inline

Files

+7 −0
Original line number Original line Diff line number Diff line
## [3.0.2](https://gitlab.kilic.dev/config/eslint-config/compare/v3.0.1...v3.0.2) (2024-10-18)


### Bug Fixes

* update ([adf80ab](https://gitlab.kilic.dev/config/eslint-config/commit/adf80ab05309b1ae1c129fd5e63aeca2bd0b1380))

## [3.0.1](https://gitlab.kilic.dev/config/eslint-config/compare/v3.0.0...v3.0.1) (2024-10-18)
## [3.0.1](https://gitlab.kilic.dev/config/eslint-config/compare/v3.0.0...v3.0.1) (2024-10-18)




+2 −0
Original line number Original line Diff line number Diff line
@@ -2,12 +2,14 @@ import js from '@eslint/js'
import StylisticPlugin from '@stylistic/eslint-plugin'
import StylisticPlugin from '@stylistic/eslint-plugin'


import imports from './import.js'
import imports from './import.js'
import { EXTENSIONS } from './constants.js'


/** @type {import("eslint").Linter.Config[]} */
/** @type {import("eslint").Linter.Config[]} */
export default [
export default [
  js.configs.recommended,
  js.configs.recommended,
  ...imports,
  ...imports,
  {
  {
    files: [...EXTENSIONS],
    languageOptions: {
    languageOptions: {
      globals: {
      globals: {
        browser: true,
        browser: true,

constants.js

0 → 100644
+1 −0
Original line number Original line Diff line number Diff line
export const EXTENSIONS = ['**/*.js', '**/*.mjs', '**/*.cjs', '**/*.ts', '**/*.mts', '**/*.cts', '**/*.jsx', '**/*.tsx', '**/*.vue', '**/*.svelte']
Original line number Original line Diff line number Diff line
import ImportPlugin from 'eslint-plugin-import'
import ImportPlugin from 'eslint-plugin-import'
import { EXTENSIONS } from './constants.js'


/** @type {import("eslint").Linter.Config[]} */
/** @type {import("eslint").Linter.Config[]} */
export default [
export default [
  {
  {
    files: [...EXTENSIONS],
    plugins: {
    plugins: {
      import: ImportPlugin
      import: ImportPlugin
    },
    },
+2 −0
Original line number Original line Diff line number Diff line
import ImportPlugin from 'eslint-plugin-import'
import ImportPlugin from 'eslint-plugin-import'
import { EXTENSIONS } from './constants.js'


/** @type {import("eslint").Linter.Config[]} */
/** @type {import("eslint").Linter.Config[]} */
export default [
export default [
  {
  {
    files: [...EXTENSIONS],
    plugins: { import: ImportPlugin },
    plugins: { import: ImportPlugin },
    rules: {
    rules: {
      'sort-imports': 'off',
      'sort-imports': 'off',
+1 −1
Original line number Original line Diff line number Diff line
{
{
  "name": "@cenk1cenk2/eslint-config",
  "name": "@cenk1cenk2/eslint-config",
  "version": "3.0.1",
  "version": "3.0.2",
  "description": "Eslint configuration for my taste.",
  "description": "Eslint configuration for my taste.",
  "main": "index.js",
  "main": "index.js",
  "repository": "git@gitlab.kilic.dev:config/eslint-config.git",
  "repository": "git@gitlab.kilic.dev:config/eslint-config.git",
Original line number Original line Diff line number Diff line
@@ -6,7 +6,7 @@ export default [
  ...typescript,
  ...typescript,
  ...react,
  ...react,
  {
  {
    files: ['*.tsx'],
    files: ['**/*.tsx'],
    plugins: ['react', 'react-hooks'],
    plugins: ['react', 'react-hooks'],
    rules: {
    rules: {
      '@typescript-eslint/no-unused-vars': 'off',
      '@typescript-eslint/no-unused-vars': 'off',
+1 −1
Original line number Original line Diff line number Diff line
@@ -4,7 +4,7 @@ import base from './base.js'
export default [
export default [
  ...base,
  ...base,
  {
  {
    files: ['*.jsx', '*.tsx'],
    files: ['**/*.jsx', '**/*.tsx'],
    plugins: ['react', 'react-hooks'],
    plugins: ['react', 'react-hooks'],
    languageOptions: {
    languageOptions: {
      parserOptions: {
      parserOptions: {
Original line number Original line Diff line number Diff line
@@ -7,16 +7,14 @@ export default [
  ...svelte.configs['flat/recommended'],
  ...svelte.configs['flat/recommended'],
  ...typescript,
  ...typescript,
  {
  {
    files: ['**/*.svelte'],
    languageOptions: {
    languageOptions: {
      parser: 'svelte-eslint-parser',
      parserOptions: {
      parserOptions: {
        parser: '@typescript-eslint/parser',
        extraFileExtensions: ['.svelte']
        extraFileExtensions: ['.svelte']
      }
      }
    },
    },
    files: ['*.svelte'],
    parser: 'svelte-eslint-parser',
    parserOptions: {
      parser: '@typescript-eslint/parser'
    },
    rules: {
    rules: {
      'max-len': 'off',
      'max-len': 'off',
      'no-throw-literal': 'off',
      'no-throw-literal': 'off',
Original line number Original line Diff line number Diff line
@@ -4,7 +4,7 @@ import typescript from './typescript.js'
export default [
export default [
  ...typescript,
  ...typescript,
  {
  {
    files: ['*.ts', '*.tsx'],
    files: ['**/*.ts', '**/*.mjs', '**/*.cjs', '**/*.tsx', '**/*.svelte', '**/*.vue'],
    languageOptions: {
    languageOptions: {
      parserOptions: {
      parserOptions: {
        project: 'tsconfig.json'
        project: 'tsconfig.json'
+2 −2
Original line number Original line Diff line number Diff line
@@ -7,9 +7,9 @@ import base from './base.js'
export default [
export default [
  ...base,
  ...base,
  {
  {
    files: ['*.ts', '*.tsx'],
    files: ['**/*.ts', '**/*.mjs', '**/*.cjs', '**/*.tsx', '**/*.svelte', '**/*.vue'],
    plugins: {
    plugins: {
      'stylestic': StylisticPlugin,
      stylestic: StylisticPlugin,
      '@typescript-eslint': TypescriptEslintPlugin
      '@typescript-eslint': TypescriptEslintPlugin
    },
    },
    extends: ['plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended'],
    extends: ['plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended'],
+1 −1
Original line number Original line Diff line number Diff line
@@ -73,7 +73,7 @@ export function generateImportGroups(options) {
 * @param {{ paths?: string[], tsconfig?: string, tsconfigDir?: string}} options
 * @param {{ paths?: string[], tsconfig?: string, tsconfigDir?: string}} options
 * @returns {import("eslint").Linter.Config[]}
 * @returns {import("eslint").Linter.Config[]}
 */
 */
export function generateImportGroupsWithOverride(options) {
export function importGroupConfig(options) {
  return [
  return [
    {
    {
      plugins: {
      plugins: {
Original line number Original line Diff line number Diff line
/** @type {import("eslint").Linter.Config[]} */
/** @type {import("eslint").Linter.Config[]} */
export default [
export default [
  {
  {
    files: ['*.vue'],
    files: ['**/*.vue'],
    extends: ['./index', '@nuxtjs/eslint-config-typescript/index'],
    extends: ['./index', '@nuxtjs/eslint-config-typescript/index'],
    rules: {}
    rules: {}
  }
  }
+1 −1
Original line number Original line Diff line number Diff line
@@ -4,7 +4,7 @@ import base from './base.js'
export default [
export default [
  ...base,
  ...base,
  {
  {
    files: ['*.vue'],
    files: ['**/*.vue'],
    extends: ['@nuxtjs'],
    extends: ['@nuxtjs'],
    rules: {
    rules: {
      'vue/singleline-html-element-content-newline': 0,
      'vue/singleline-html-element-content-newline': 0,