File tree Expand file tree Collapse file tree 8 files changed +616
-735
lines changed Expand file tree Collapse file tree 8 files changed +616
-735
lines changed Original file line number Diff line number Diff line change
1
+ * .config.js
2
+ . * .js
3
+ gulpfile.js
Original file line number Diff line number Diff line change 1
- // eslint-disable-next-line n/no-unpublished-import, import/no-default-export -- dev-only
2
1
export { config as default } from '@perfective/build/prettier' ;
Original file line number Diff line number Diff line change 1
- // eslint-disable-next-line n/no-unpublished-import -- dev-only
2
1
import { babelPluginImportExtension , babelPluginRequireExtension } from '@perfective/build/babel' ;
3
2
4
3
const babelConfig = {
@@ -9,5 +8,4 @@ const babelConfig = {
9
8
] ,
10
9
} ;
11
10
12
- // eslint-disable-next-line import/no-default-export -- required for configuration
13
11
export default babelConfig ;
Original file line number Diff line number Diff line change 1
- /* eslint-disable n/no-unpublished-import -- dev-only */
2
- import perfectiveEslintConfig from '@perfective/eslint-config' ;
1
+ import { perfectiveEslintConfig } from '@perfective/eslint-config' ;
3
2
import { jestConfig } from '@perfective/eslint-config/jest' ;
4
3
5
- const eslintConfig = [
6
- ...perfectiveEslintConfig ,
7
- jestConfig ( ) ,
8
- {
9
- files : [ '**/*.ts?(x)' ] ,
10
- rules : {
11
- '@typescript-eslint/no-unnecessary-condition' : [ 'warn' , {
12
- allowConstantLoopConditions : false ,
13
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing : false ,
14
- checkTypePredicates : false ,
15
- } ] ,
16
- } ,
17
- } ,
18
- ] ;
4
+ const eslintConfig = perfectiveEslintConfig ( [
5
+ jestConfig ,
6
+ ] ) ;
19
7
20
- // eslint-disable-next-line import/no-default-export -- required for configuration
21
8
export default eslintConfig ;
22
- /* eslint-enable n/no-unpublished-import */
Original file line number Diff line number Diff line change 1
- /* eslint-disable n/no-unpublished-import -- dev-only */
2
1
import gulp from 'gulp' ;
3
2
4
3
import * as build from '@perfective/build/gulp' ;
5
4
6
- /* eslint-enable n/no-unpublished-import */
7
-
8
5
export const clean = build . clean ( [ './dist' ] ) ;
9
6
export const docs = build . asciidoctor ( ) ;
10
7
const full = gulp . series (
@@ -24,5 +21,4 @@ const full = gulp.series(
24
21
docs ,
25
22
) ;
26
23
27
- // eslint-disable-next-line import/no-default-export -- required for configuration
28
24
export default full ;
Original file line number Diff line number Diff line change 1
- // eslint-disable-next-line n/no-unpublished-import, import/no-default-export -- dev-only
2
1
export { config as default } from '@perfective/build/jest' ;
You can’t perform that action at this time.
0 commit comments