119.0.0 • Published 4 months ago

eslint-config-love v119.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 months ago

GitHub License .github/workflows/ci.yaml npm Dependent repos prior to rename Dependent repos GitHub Repo stars

A TypeScript ESLint config that loves you

Description

This is an ESLint shareable configuration.

  • No framework/library-specific rules
  • Safety at the cost of verbosity
  • Convention over arbitrary choice
  • No formatting rules (please use a formatter)
  • No rules that are covered by strict TypeScript

Versioning

Any change that might require a user to make changes beyond upgrading this package is considered major. For example, rule addition are obviously major. It is expected that most version bumps will be major.

Example config

Here are example ESLint configuration files.

ECMAScript Modules:

import love from 'eslint-config-love'

export default [
  {
    ...love,
    files: ['**/*.js', '**/*.ts'],
  },
]

CommonJS:

module.exports = (async function config() {
  const { default: love } = await import('eslint-config-love')

  return [
    {
      ...love,
      files: ['**/*.js', '**/*.ts'],
    },
  ]
})()

Learn how to configure ESLint.

Note: the config exported by this package sets languageOptions.parserOptions.project = true. Read about the project option here.

There are some more parserOptions you may care about.

Example command line usage:

$ npx eslint .

Disabling rules

As with any ESLint configuration, some ad-hoc disabling of rules is expected. It is further expected that the strict nature of this configuration would more frequently require the disabling of rules.

Consider minimizing the scope in which rules are disabled; prefer using eslint-disable-* comments when possible. Otherwise, rules can be disabled for a subset of files using configuration.

Contributing

This project is developed primarily in remote mob programming format. See schedule and how to apply here.

Otherwise, see CONTRIBUTING.md.

Sponsoring

To ensure the continuity of this project, consider sponsoring the author.

119.0.0

4 months ago

118.0.0

5 months ago

117.0.0

5 months ago

115.0.0

6 months ago

116.0.0

6 months ago

114.0.0

6 months ago

113.0.0

6 months ago

110.0.0

7 months ago

111.0.0

7 months ago

112.0.0

7 months ago

108.0.0

7 months ago

109.0.0

7 months ago

106.0.0

7 months ago

107.0.0

7 months ago

102.0.0

7 months ago

103.0.0

7 months ago

104.0.0

7 months ago

105.0.0

7 months ago

99.0.0

7 months ago

100.0.0

7 months ago

101.0.0

7 months ago

98.0.0

8 months ago

98.0.1

8 months ago

98.0.2

8 months ago

97.0.0

8 months ago

96.0.0

8 months ago

90.0.0

8 months ago

95.0.0

8 months ago

93.0.0

8 months ago

94.0.0

8 months ago

91.0.0

8 months ago

92.0.0

8 months ago

89.0.1

8 months ago

89.0.0

8 months ago

88.0.0

8 months ago

71.0.0

9 months ago

79.0.0

9 months ago

66.0.0

10 months ago

72.0.0

9 months ago

65.0.0

10 months ago

78.0.0

9 months ago

86.1.0

9 months ago

73.0.0

9 months ago

64.0.0

10 months ago

86.1.1

9 months ago

70.0.0

9 months ago

84.1.1

9 months ago

84.1.0

9 months ago

75.0.0

9 months ago

80.0.0

9 months ago

87.0.0

9 months ago

74.0.0

9 months ago

81.0.0

9 months ago

86.0.0

9 months ago

82.0.0

9 months ago

69.0.0

9 months ago

68.0.0

9 months ago

77.0.0

9 months ago

85.0.0

9 months ago

83.0.0

9 months ago

76.0.0

9 months ago

67.0.0

9 months ago

84.0.0

9 months ago

62.0.1

10 months ago

63.0.0

10 months ago

62.0.0

11 months ago

60.0.0

11 months ago

61.0.0

11 months ago

58.0.0

11 months ago

57.0.0

11 months ago

59.0.0

11 months ago

56.0.0

12 months ago

55.0.0

12 months ago

54.0.0

12 months ago

53.0.0

1 year ago

51.0.1

1 year ago

52.0.0

1 year ago

49.0.0

1 year ago

51.0.0

1 year ago

50.0.0

1 year ago

48.0.0

1 year ago

47.0.0

1 year ago

45.0.0

1 year ago

46.0.0

1 year ago

44.0.0

1 year ago

43.1.0

1 year ago

0.3.0

6 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago