Skip to content

Commit

Permalink
[NOJIRA]: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Sannikov committed Nov 30, 2023
1 parent 7c4eb89 commit b453eb6
Show file tree
Hide file tree
Showing 6 changed files with 89 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/bpk-stylesheets/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
* limitations under the License.
*/

@import '~normalize.css';
@import '../bpk-mixins-next';
@use '../bpk-mixins-next' as *;

@import '../node_modules/normalize.css/normalize.css';

// stylelint-disable-next-line selector-max-type
html {
Expand Down
16 changes: 16 additions & 0 deletions scripts/scss/generate-v2.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Backpack - Skyscanner's Design System
#
# Copyright 2016 Skyscanner Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -e

printf "🧽 Wiping packages/bpk-mixins-next...\n"
Expand Down
18 changes: 18 additions & 0 deletions scripts/scss/style-compiler.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Backpack - Skyscanner's Design System
*
* Copyright 2016 Skyscanner Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

const fs = require('fs');
const path = require('path');
const {pathToFileURL} = require("url");
Expand Down
18 changes: 18 additions & 0 deletions scripts/scss/styles-dev.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Backpack - Skyscanner's Design System
*
* Copyright 2016 Skyscanner Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

const p = require('path');

const chokidar = require('chokidar');
Expand Down
18 changes: 18 additions & 0 deletions scripts/scss/styles-prod.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Backpack - Skyscanner's Design System
*
* Copyright 2016 Skyscanner Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

const glob = require('glob');

const { compile } = require('./style-compiler');
Expand Down
16 changes: 16 additions & 0 deletions scripts/scss/upgrade.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Backpack - Skyscanner's Design System
#
# Copyright 2016 Skyscanner Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -e

cd packages
Expand Down

0 comments on commit b453eb6

Please sign in to comment.