File tree Expand file tree Collapse file tree 4 files changed +899
-247
lines changed Expand file tree Collapse file tree 4 files changed +899
-247
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Bootstrap a new TypeScript module in five minutes or less.
15
15
- Native [ ECMAScript module] compatible with [ Node.js] .
16
16
- Package management with [ npm] .
17
17
- Examples with configurable options and arguments powered by [ yargs] with [ landlubber] .
18
- - Linting with [ eslint-config-love ] using [ ESLint] .
18
+ - Linting with the [ JavaScript neostandard Style ] using [ ESLint] .
19
19
- [ Prettier] code.
20
20
- Futuristic debuggable unit testing with [ AVA] .
21
21
- Code coverage reporting with [ Istanbul] and [ c8] .
@@ -33,7 +33,7 @@ Bootstrap a new TypeScript module in five minutes or less.
33
33
[ GitHub Actions ] : https://github.com/features/actions
34
34
[ GitHub Codespaces ] : https://github.com/features/codespaces
35
35
[ Istanbul ] : https://istanbul.js.org/
36
- [ eslint-config-love ] : https://github.com/mightyiam/eslint-config-love
36
+ [ JavaScript neostandard Style ] : https://github.com/neostandard/neostandard
37
37
[ Keep a CHANGELOG ] : https://keepachangelog.com/
38
38
[ Node.js ] : https://nodejs.org/
39
39
[ Prettier ] : https://prettier.io/
Original file line number Diff line number Diff line change 1
1
import { globalIgnores } from 'eslint/config'
2
- import love from 'eslint-config-love'
3
- import prettier from 'eslint-config-prettier/flat'
4
2
import simpleImportSort from 'eslint-plugin-simple-import-sort'
5
3
import unusedImports from 'eslint-plugin-unused-imports'
4
+ import neostandard , { resolveIgnoresFromGitignore } from 'neostandard'
6
5
7
6
const files = [ '**/*.{ts,tsx}' ]
8
7
9
8
export default [
10
- globalIgnores ( [ '**/*.d.ts' ] ) ,
11
- {
12
- ...love ,
13
- files,
14
- rules : {
15
- ...love . rules ,
16
- 'import/extensions' : [ 'error' , 'ignorePackages' ] ,
17
- 'import/no-duplicates' : [ 'error' , { 'prefer-inline' : true } ] ,
18
- 'import/no-relative-parent-imports' : 'error' ,
19
- } ,
20
- } ,
9
+ globalIgnores ( resolveIgnoresFromGitignore ( ) ) ,
10
+ ...neostandard ( { ts : true , noStyle : true } ) ,
21
11
{
22
12
files,
23
13
plugins : {
@@ -61,5 +51,4 @@ export default [
61
51
'simple-import-sort/exports' : 'error' ,
62
52
} ,
63
53
} ,
64
- { ...prettier , files } ,
65
54
]
You can’t perform that action at this time.
0 commit comments