16.1.0 • Published 4 years ago

@futagoza/eslint-config-svelte v16.1.0

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

dependencies History License

This package contains configuration files for ESLint v7.15+

This is a configuration file for ESLint that is used to lint JavaScript source embedded within my .svelte files.

NOTE 1: This configuration is only for enabling .svelte linting, therefore it is recommended to also use @futagoza/eslint-config-javascript or something similar alongside this configuration.

NOTE 2: To lint .svelte files that contain TypeScript code blocks use @futagoza/eslint-config-svelte.ts instead of this package.

NOTE 3: This configuration require's Svelte 3+, but the peerDependencies field is set as "svelte": "*" so that any version of Svelte supported by eslint-plugin-svelte3 can be used.

installation

$ npm i --save-dev @futagoza/eslint-config-svelte

usage

Put the following into your configuration (.eslintrc.* file or the "eslintConfig" field in package.json):

{
    "extends": "@futagoza/svelte"
}

configurations

A list of usable configurations as well the configurations they use:

sapper configuration

The @futagoza/svelte/sapper configuration will optionally extend other configurations:

NOTE: Sapper load's other src/**/*.js files, but these don't have expectations like the above.

license

Copyright © 2019+ Futago-za Ryuu Released under the MIT License, http://opensource.org/licenses/MIT

16.1.0

4 years ago

16.0.0

4 years ago

15.4.0

4 years ago

15.2.0

5 years ago

15.1.0

5 years ago

15.0.0

5 years ago

14.1.0

5 years ago

14.0.1

5 years ago

13.2.0

5 years ago

13.1.0

5 years ago

13.0.0

5 years ago

12.1.0

5 years ago

12.0.0

6 years ago

11.3.0

6 years ago

11.2.0

6 years ago

11.1.0

6 years ago

11.0.1

6 years ago

11.0.0

6 years ago

10.0.0

6 years ago