@rixo/eslint-config-svelte
Version:
Rixo's eslint config for svelte projects
31 lines (30 loc) • 775 B
JavaScript
// JS config is used for heavy lifting, but all that can be done in YAML
// must preferably be done in YAML
//
// # Reference
//
// https://eslint.org/docs/user-guide/configuring#configuration-file-formats
//
// If there are multiple configuration files in the same directory, ESLint will only use one. The priority order is:
//
// 1. .eslintrc.js
// 2. .eslintrc.yaml
// 3. .eslintrc.yml
// 4. .eslintrc.json
// 5. .eslintrc
// 6. package.json
//
module.exports = {
extends: ['./.eslintrc'],
settings: {
// Most projects need some kind of configuration for import resolution.
//
// Example:
//
// 'import/resolver': {
// webpack: {
// config: require('./webpack.config.js'),
// },
// },
},
}