From: Geoff Kimball Date: Tue, 9 Feb 2016 17:13:01 +0000 (-0800) Subject: Remove unused karma config file, and move linting config files to the root folder... X-Git-Tag: v6.2.0-rc.1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c511c3651e92a4b146f423c51a669669c9c182a;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Remove unused karma config file, and move linting config files to the root folder, so IDE linters can find them easier --- diff --git a/config/.jshintConfig b/.jshintConfig similarity index 100% rename from config/.jshintConfig rename to .jshintConfig diff --git a/config/karma.conf.js b/config/karma.conf.js deleted file mode 100644 index f0f72f6f2..000000000 --- a/config/karma.conf.js +++ /dev/null @@ -1,63 +0,0 @@ -// Karma configuration -module.exports = function(config) { - config.set({ - - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: '..', - - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ['jasmine'], - - - // list of files / patterns to load in the browser - files: [ - 'test/js/**/*.js' - ], - - - // list of files to exclude - exclude: [ - ], - - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - }, - - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ['progress'], - - - // web server port - port: 9876, - - - // enable / disable colors in the output (reporters and logs) - colors: true, - - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - - // start these browsers - // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher - browsers: ['Chrome', 'Firefox', 'Safari', 'Opera', 'IE'], - - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: false - }) -} diff --git a/config/scss-lint.yml b/scss-lint.yml similarity index 100% rename from config/scss-lint.yml rename to scss-lint.yml