mirror of https://github.com/jiahaog/Nativefier
Move some tooling config (eslintignore, prettierrc) to package.json
To limit amount of dotfiles at repo root
This commit is contained in:
parent
5129dbafe1
commit
75aa10382b
|
@ -1,6 +0,0 @@
|
||||||
node_modules/**
|
|
||||||
app/node_modules/**
|
|
||||||
app/lib/**
|
|
||||||
lib/**
|
|
||||||
built-tests/**
|
|
||||||
coverage/**
|
|
|
@ -24,4 +24,13 @@ module.exports = {
|
||||||
'@typescript-eslint/no-unsafe-member-access': 'off',
|
'@typescript-eslint/no-unsafe-member-access': 'off',
|
||||||
'@typescript-eslint/no-unsafe-return': 'off',
|
'@typescript-eslint/no-unsafe-return': 'off',
|
||||||
},
|
},
|
||||||
|
// https://eslint.org/docs/user-guide/configuring/ignoring-code#ignorepatterns-in-config-files
|
||||||
|
ignorePatterns: [
|
||||||
|
"node_modules/**",
|
||||||
|
"app/node_modules/**",
|
||||||
|
"app/lib/**",
|
||||||
|
"lib/**",
|
||||||
|
"built-tests/**",
|
||||||
|
"coverage/**",
|
||||||
|
]
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
arrowParens: always
|
|
||||||
singleQuote: true
|
|
||||||
trailingComma: all
|
|
|
@ -93,5 +93,10 @@
|
||||||
"<rootDir>/app/src.*",
|
"<rootDir>/app/src.*",
|
||||||
"<rootDir>/src.*"
|
"<rootDir>/src.*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"prettier": {
|
||||||
|
"arrowParens": "always",
|
||||||
|
"singleQuote": true,
|
||||||
|
"trailingComma": "all"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue