Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/.eslintrc.json')
-rw-r--r--js/.eslintrc.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/js/.eslintrc.json b/js/.eslintrc.json
new file mode 100644
index 0000000000..97ea9e0435
--- /dev/null
+++ b/js/.eslintrc.json
@@ -0,0 +1,26 @@
+{
+ "extends": "../.eslintrc.json",
+ "env": {
+ "es2022": true
+ },
+ "parserOptions": {
+ "ecmaVersion": "latest",
+ "sourceType": "module"
+ },
+ "overrides": [
+ {
+ "files": [
+ "./*.js",
+ "./src/**/*.js"
+ ],
+ "rules": {
+ "import/extensions": [
+ 2,
+ {
+ "js": "always"
+ }
+ ]
+ }
+ }
+ ]
+}