Skip to content

Commit 79f7dc8

Browse files
authored
fix: use prettier formatting (#551)
1 parent 918647a commit 79f7dc8

File tree

195 files changed

+17528
-10652
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+17528
-10652
lines changed

.eslintrc.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@
1616
"extends": ["eslint:recommended", "prettier"],
1717
"overrides": [
1818
{
19-
"files": ["apps/secure-real-time-multiplayer-game/tests/1_unit-tests.js",
20-
"apps/build-a-pinterest-clone/client/*", "**/rollup.config.js", "apps/p2p-video-chat-application/src/client.js"],
19+
"files": [
20+
"apps/secure-real-time-multiplayer-game/tests/1_unit-tests.js",
21+
"apps/build-a-pinterest-clone/client/*",
22+
"**/rollup.config.js",
23+
"apps/p2p-video-chat-application/src/client.js"
24+
],
2125
"parserOptions": {
2226
"sourceType": "module"
2327
}

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ tasks:
1313
npm run start
1414
vscode:
1515
extensions:
16-
- dbaeumer.vscode-eslint
16+
- dbaeumer.vscode-eslint

CONTRIBUTE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Note: See https://github.com/freeCodeCamp/demo-projects/issues/403
1+
Note: See https://github.com/freeCodeCamp/demo-projects/issues/403

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2626
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2727
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2828
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

apps/25--5-clock/rollup.config.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
import resolve from "@rollup/plugin-node-resolve";
2-
import commonjs from "@rollup/plugin-commonjs";
3-
import babel from "@rollup/plugin-babel";
4-
import replace from "@rollup/plugin-replace";
5-
import terser from "@rollup/plugin-terser";
1+
import resolve from '@rollup/plugin-node-resolve';
2+
import commonjs from '@rollup/plugin-commonjs';
3+
import babel from '@rollup/plugin-babel';
4+
import replace from '@rollup/plugin-replace';
5+
import terser from '@rollup/plugin-terser';
66

77
export default {
8-
input: "client/index.jsx",
8+
input: 'client/index.jsx',
99
output: {
10-
file: "public/bundle.js",
11-
format: "iife",
12-
name: "Client",
10+
file: 'public/bundle.js',
11+
format: 'iife',
12+
name: 'Client'
1313
},
1414
plugins: [
15-
resolve({ moduleDirectories: ["node_modules"] }),
15+
resolve({ moduleDirectories: ['node_modules'] }),
1616
replace({
1717
preventAssignment: true,
18-
"process.env.NODE_ENV": JSON.stringify("production"),
18+
'process.env.NODE_ENV': JSON.stringify('production')
1919
}),
2020
commonjs({
21-
include: /node_modules/,
21+
include: /node_modules/
2222
}),
23-
babel({ babelHelpers: "bundled" }),
24-
terser(),
25-
],
23+
babel({ babelHelpers: 'bundled' }),
24+
terser()
25+
]
2626
};
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"presets": ["@babel/preset-env"]
3-
}
3+
}

0 commit comments

Comments
 (0)