119.0.0 • Published 1 year ago

eslint-config-love v119.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
1 year 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

1 year ago

118.0.0

1 year ago

117.0.0

1 year ago

115.0.0

1 year ago

116.0.0

1 year ago

114.0.0

1 year ago

113.0.0

1 year ago

110.0.0

1 year ago

111.0.0

1 year ago

112.0.0

1 year ago

108.0.0

1 year ago

109.0.0

1 year ago

106.0.0

1 year ago

107.0.0

1 year ago

102.0.0

1 year ago

103.0.0

1 year ago

104.0.0

1 year ago

105.0.0

1 year ago

99.0.0

1 year ago

100.0.0

1 year ago

101.0.0

1 year ago

98.0.0

1 year ago

98.0.1

1 year ago

98.0.2

1 year ago

97.0.0

1 year ago

96.0.0

1 year ago

90.0.0

1 year ago

95.0.0

1 year ago

93.0.0

1 year ago

94.0.0

1 year ago

91.0.0

1 year ago

92.0.0

1 year ago

89.0.1

1 year ago

89.0.0

1 year ago

88.0.0

1 year ago

71.0.0

2 years ago

79.0.0

1 year ago

66.0.0

2 years ago

72.0.0

1 year ago

65.0.0

2 years ago

78.0.0

1 year ago

86.1.0

1 year ago

73.0.0

1 year ago

64.0.0

2 years ago

86.1.1

1 year ago

70.0.0

2 years ago

84.1.1

1 year ago

84.1.0

1 year ago

75.0.0

1 year ago

80.0.0

1 year ago

87.0.0

1 year ago

74.0.0

1 year ago

81.0.0

1 year ago

86.0.0

1 year ago

82.0.0

1 year ago

69.0.0

2 years ago

68.0.0

2 years ago

77.0.0

1 year ago

85.0.0

1 year ago

83.0.0

1 year ago

76.0.0

1 year ago

67.0.0

2 years ago

84.0.0

1 year ago

62.0.1

2 years ago

63.0.0

2 years ago

62.0.0

2 years ago

60.0.0

2 years ago

61.0.0

2 years ago

58.0.0

2 years ago

57.0.0

2 years ago

59.0.0

2 years ago

56.0.0

2 years ago

55.0.0

2 years ago

54.0.0

2 years ago

53.0.0

2 years ago

51.0.1

2 years ago

52.0.0

2 years ago

49.0.0

2 years ago

51.0.0

2 years ago

50.0.0

2 years ago

48.0.0

2 years ago

47.0.0

2 years ago

45.0.0

2 years ago

46.0.0

2 years ago

44.0.0

2 years ago

43.1.0

2 years ago

0.3.0

7 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago