chore: use standardization library

This commit is contained in:
Jim Jenkins 2021-05-11 16:06:16 -04:00
parent 032b6e6cdb
commit 81670b0c1a
6 changed files with 2441 additions and 1050 deletions

1
.editorconfig Symbolic link
View file

@ -0,0 +1 @@
node_modules/@silvermine/standardization/.editorconfig

View file

@ -113,11 +113,11 @@ module.exports = function(grunt) {
target: config.js.all,
},
sasslint: {
stylelint: {
options: {
configFile: path.join(__dirname, 'node_modules', '@silvermine/sass-lint-config', 'sass-lint.yml'),
configFile: path.join(__dirname, 'node_modules', '@silvermine', 'standardization', '.stylelintrc.yml'),
},
target: config.sass.all,
src: config.sass.all,
},
watch: {
@ -146,9 +146,9 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-postcss');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-sass');
grunt.loadNpmTasks('grunt-sass-lint');
grunt.loadNpmTasks('grunt-stylelint');
grunt.registerTask('standards', [ 'eslint', 'sasslint' ]);
grunt.registerTask('standards', [ 'eslint', 'stylelint' ]);
grunt.registerTask('build-js', [ 'browserify', 'uglify' ]);
grunt.registerTask('build-css', [ 'sass', 'postcss' ]);
grunt.registerTask('build', [ 'build-js', 'build-css' ]);

View file

@ -1,5 +1,5 @@
'use strict';
module.exports = {
extends: [ '@silvermine/eslint-config/commitlint.js' ],
extends: [ '@silvermine/standardization/commitlint.js' ],
};

3445
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -26,13 +26,12 @@
},
"homepage": "https://github.com/silvermine/videojs-quality-selector#readme",
"devDependencies": {
"@commitlint/cli": "8.3.5",
"@commitlint/travis-cli": "8.3.5",
"@silvermine/eslint-config": "3.0.0-rc.0",
"@silvermine/sass-lint-config": "1.1.0",
"@silvermine/standardization": "1.1.0",
"autoprefixer": "9.5.1",
"check-node-version": "4.0.3",
"coveralls": "3.0.3",
"eslint": "6.8.0",
"expect.js": "0.3.1",
"grunt": "1.0.4",
"grunt-browserify": "5.3.0",
@ -42,7 +41,6 @@
"grunt-eslint": "22.0.0",
"grunt-postcss": "0.9.0",
"grunt-sass": "3.0.2",
"grunt-sass-lint": "0.2.4",
"istanbul": "0.4.5",
"mocha": "6.1.4",
"mocha-lcov-reporter": "1.3.0",

View file

@ -7,10 +7,11 @@
}
.vjs-icon-placeholder {
// From video.js font: https://github.com/videojs/font
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
font-family: 'VideoJS';
font-weight: normal;
font-style: normal;
&:before {
&::before {
content: '\f110';
}
}