[READ-ONLY] Mirror of https://github.com/lion-byte/eslint-config. ESLint config for personal projects
eslint-config personal-config
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: add more ESLint rules

- arrow-body-style
- curly
- max-statements-per-line
- no-multiple-empty-lines
- no-undefined

Mark Hernandez (Dec 29, 2019, 6:24 AM -0600) 2caf11d8 1fb38859

+23
+8
.eslintrc.json
··· 11 11 "ecmaVersion": 11 12 12 }, 13 13 "rules": { 14 + "arrow-body-style": "error", 15 + "curly": ["error", "all"], 16 + "max-statements-per-line": "error", 17 + "no-multiple-empty-lines": [ 18 + "error", 19 + { "maxBOF": 0, "max": 1, "maxEOF": 0 } 20 + ], 21 + "no-undefined": "error", 14 22 "no-var": "error", 15 23 "quotes": [ 16 24 "error",
+15
test/__snapshots__/index.test.js.snap
··· 18 18 "react-hooks", 19 19 ], 20 20 "rules": Object { 21 + "arrow-body-style": "error", 22 + "curly": Array [ 23 + "error", 24 + "all", 25 + ], 26 + "max-statements-per-line": "error", 27 + "no-multiple-empty-lines": Array [ 28 + "error", 29 + Object { 30 + "max": 1, 31 + "maxBOF": 0, 32 + "maxEOF": 0, 33 + }, 34 + ], 35 + "no-undefined": "error", 21 36 "no-var": "error", 22 37 "quotes": Array [ 23 38 "error",