5.0.3 • Published 2 months ago

eslint-plugin-levitate v5.0.3

Weekly downloads
1,470
License
ISC
Repository
github
Last release
2 months ago
Rule nameDescriptionAuto-fixable
commentenforce starting a single-line comment with either TODO:, HACK:, See {url}, or a first-capitalized word
export-name-after-file-nameenforce naming a default exported identifier after the file name
import-conventionenforce naming imported identifiers after the user-defined list
import-name-after-file-nameenforce naming a default imported identifier after the file or the directory name (for an index file)
import-path-from-closest-indexenforce writing an import path pointing to the closest index file
import-path-without-mentioning-indexenforce writing an import path to an index file without mentioning "index.js"Yes
no-shortened-identifierenforce naming an identifier without the user-defined abbreviations
no-top-level-requireenforce writing no top-level require
promise-all-with-static-arrayenforce passing a static array to Promise.all()
react-export-defaultenforce writing React components consistentlyYes
react-prop-typeenforce writing type definition for React props
react-sort-propsenforce consistent React props sortingYes
require-name-after-file-nameenforce naming an identifier after the file name of its require statement
require-name-after-predefined-nameenforce naming an identifier after the user-defined list of its require statementYes
sort-importsenforce sorting import statements. By default, this will sort according to RenkeYes
test-case-groupenforce using a function reference as a test case descriptionYes
test-case-new-lineenforce having a new line between it, test, describe and before expect function calls; this applies to *.{test,spec} files onlyYes
test-case-titleenforce writing consistent test case titles for it and test function calls; the allowed pattern of the test case title is "(does not) return/render/call/fetch/set/throw(s) ... (, given ...)"; this also disallows writing some vague words, such proper, correct, appropriate, accurate, perfect
typescript-enum-nameenforce naming enumerations consistently; the possible options are "PascalCase" (default), "camelCase", "UPPERCASE", "SNAKE_CASE"
typescript-explicit-return-typeenforce writing an explicit return type for exported functions
typescript-exported-interfaceenforce exporting an interface, unless it is inside a declare block
typescript-method-typeenforce writing function types using arrow notationYes
5.0.3

2 months ago

5.0.2

3 months ago

5.0.1

3 months ago

5.0.0

3 months ago

4.1.1

8 months ago

4.0.1

1 year ago

4.0.0

1 year ago

4.0.2

1 year ago

4.1.0

1 year ago

3.23.0

1 year ago

3.22.0

2 years ago

3.20.0

2 years ago

3.17.0

2 years ago

3.19.0

2 years ago

3.19.1

2 years ago

3.21.0

2 years ago

3.18.4

2 years ago

3.16.0

2 years ago

3.18.1

2 years ago

3.18.0

2 years ago

3.18.3

2 years ago

3.18.2

2 years ago

3.15.0

2 years ago

3.10.1

3 years ago

3.10.0

3 years ago

3.10.3

3 years ago

3.12.0

3 years ago

3.10.2

3 years ago

3.14.0

3 years ago

3.10.4

3 years ago

3.11.0

3 years ago

3.13.0

3 years ago

3.11.1

3 years ago

3.9.0

3 years ago

3.8.6

3 years ago

3.8.5

3 years ago

3.8.4

3 years ago

3.8.3

3 years ago

3.8.2

3 years ago

3.8.1

4 years ago

3.8.0

4 years ago

3.7.0

4 years ago

3.6.1

4 years ago

3.6.0

4 years ago

3.5.1

4 years ago

3.5.0

4 years ago

3.4.0

4 years ago

3.3.0

4 years ago

3.2.0

4 years ago

3.1.0

4 years ago

3.0.0

5 years ago

2.11.0

5 years ago

2.10.0

5 years ago

2.9.0

5 years ago

2.8.0

5 years ago

2.7.4

6 years ago

2.7.3

6 years ago

2.7.2

6 years ago

2.7.1

6 years ago

2.7.0

6 years ago

2.6.5

6 years ago

2.6.4

6 years ago

2.6.3

6 years ago

2.6.2

6 years ago

2.6.1

6 years ago

2.6.0

6 years ago

2.5.3

6 years ago

2.5.2

6 years ago

2.5.1

6 years ago

2.5.0

6 years ago

2.4.0

6 years ago

2.3.0

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.3

6 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago