Aktualisiere .gitignore für verbesserte Ignorierung von Abhängigkeiten, Build-Ausgaben und Protokolldateien
This commit is contained in:
40
.gitignore
vendored
40
.gitignore
vendored
@@ -1,9 +1,47 @@
|
|||||||
|
# Dependencies and local tools
|
||||||
node_modules/
|
node_modules/
|
||||||
|
.tools/
|
||||||
|
|
||||||
|
# SPFx build output
|
||||||
lib/
|
lib/
|
||||||
dist/
|
dist/
|
||||||
temp/
|
temp/
|
||||||
release/
|
release/
|
||||||
|
solution/
|
||||||
|
sharepoint/solution/
|
||||||
*.sppkg
|
*.sppkg
|
||||||
*.tgz
|
*.tgz
|
||||||
npm-debug.log*
|
|
||||||
|
# Test output
|
||||||
|
coverage/
|
||||||
|
|
||||||
|
# Generated TypeScript files
|
||||||
|
*.resx.ts
|
||||||
|
*.scss.ts
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
logs/
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
|
# Local environment files
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
|
||||||
|
# Visual Studio and IDE files
|
||||||
|
.vs/
|
||||||
|
.idea/
|
||||||
|
.ntvs_analysis.dat
|
||||||
|
*.suo
|
||||||
|
*.user
|
||||||
|
bin/
|
||||||
|
obj/
|
||||||
|
|
||||||
|
# Operating system files
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
Desktop.ini
|
||||||
|
|
||||||
|
|||||||
@@ -2,5 +2,8 @@
|
|||||||
|
|
||||||
const build = require('@microsoft/sp-build-web');
|
const build = require('@microsoft/sp-build-web');
|
||||||
|
|
||||||
build.initialize(require('gulp'));
|
build.tslint.setConfig({
|
||||||
|
lintConfig: require('./tslint.json')
|
||||||
|
});
|
||||||
|
|
||||||
|
build.initialize(require('gulp'));
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
{
|
{
|
||||||
"extends": "./node_modules/@microsoft/sp-tslint-rules/base-tslint.json",
|
"extends": "./node_modules/@microsoft/sp-tslint-rules/base-tslint.json",
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"max-line-length": false,
|
||||||
|
"member-ordering": false,
|
||||||
"no-any": false,
|
"no-any": false,
|
||||||
|
"no-consecutive-blank-lines": false,
|
||||||
"no-string-based-set-timeout": false
|
"no-string-based-set-timeout": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user